diff --git a/src/OberleisteApp.jsx b/src/OberleisteApp.jsx index 798853a..224ff62 100644 --- a/src/OberleisteApp.jsx +++ b/src/OberleisteApp.jsx @@ -84,14 +84,10 @@ const pillSelect = { fontSize: 10, } -// BarSelect: Icon roh links + komplett system-natives . Vectorworks-Stil — +// dunkler Pill-Container, Caret rechts, joinedRight macht die rechte Kante +// flach fuer die Verkettung mit BarButton. +function BarSelect({ icon, value, onChange, title, disabled, width, children, joinedRight }) { return (
)}
) } -// BarButton: bare ) } @@ -317,25 +328,38 @@ export default function OberleisteApp() {
{/* ====== VIEW (Top/Front/Right/Iso/Persp + Kamera) ====== - Individuelle native Push-Buttons. Active-State via is-active - (Bold + Icon-Tint). Kein Pill-Container. */} - {VIEWS.map(v => ( - - ))} + Segmented-Pill-Gruppe analog Vectorworks. Active = accent fill. */} +
+ {VIEWS.map((v, idx) => { + const isFirst = idx === 0 + const isLast = idx === VIEWS.length - 1 + const isActive = matchView(v.value) + return ( + + ) + })} +
openKameraPanel()} title="Kamera-Einstellungen (Position, Target, Linse, Presets)" /> @@ -393,7 +417,6 @@ export default function OberleisteApp() { {customMode ? (