diff --git a/src/OberleisteApp.jsx b/src/OberleisteApp.jsx index eedf03c..96c17ec 100644 --- a/src/OberleisteApp.jsx +++ b/src/OberleisteApp.jsx @@ -83,51 +83,53 @@ const pillSelect = { fontSize: 10, } -// BarSelect: Icon-Kompartiment links | Native-Select Mitte | Caret rechts +// BarSelect: Icon roh links (kein Container) + pill-shaped Native-Select. +// joinedRight: rechte Pill-Kante flach, fuer Verkettung mit BarButton. function BarSelect({ icon, value, onChange, title, disabled, width, children, joinedRight }) { return (
+ {icon && ( + + )}
- + +
- -
) } -// BarButton: quadratischer Icon-Button, gleiche Hoehe wie BarSelect. -// joinedLeft: wenn rechts von einem BarSelect sitzt (kein doppelter Border). +// BarButton: pill-foermiger Icon-Button. joinedLeft = linke Kante flach, +// so dass er nahtlos an einen BarSelect-joinedRight andockt. function BarButton({ icon, onClick, title, disabled, joinedLeft, active }) { return (
{/* ====== VIEW (Top/Front/Right/Iso/Persp + Kamera) ====== - Kein Group-Label — die Buttons selber kommunizieren ihren Zweck. */} + Pill-foermige Toggle-Gruppe, kein Group-Label. */}
{VIEWS.map((v, idx) => ( +
+
) }