diff --git a/packages/ui/src/components/desktop/WindowsWindowControls.tsx b/packages/ui/src/components/desktop/WindowsWindowControls.tsx index 9db608d8..e722fc11 100644 --- a/packages/ui/src/components/desktop/WindowsWindowControls.tsx +++ b/packages/ui/src/components/desktop/WindowsWindowControls.tsx @@ -16,28 +16,16 @@ const TRAFFIC_LIGHT_COLORS: Record = ({ action, isMaximized }) => { +const TrafficLightGlyph: React.FC<{ action: DesktopWindowControlAction }> = ({ action }) => { if (action === 'close') { return ; } if (action === 'minimize') { return ; } - // Green expand: two filled corner triangles pointing outward (maximize) - // or inward (restore). No Remixicon equivalent exists. - // Glyphs are 10px inside the 14px circle on purpose: 9px left a half-pixel - // (2.5px) padding that rasterized lopsided at 1x DPR. - return isMaximized ? ( - - - - - ) : ( - - - - - ); + // Green maximize/restore: same `add` (+) glyph for both states. The label + // (restore vs maximize) still flips via isMaximized in TrafficLightButton. + return ; }; type TrafficLightButtonProps = { @@ -73,7 +61,7 @@ const TrafficLightButton: React.FC = ({ action, isMaxim style={{ backgroundColor: fill, color: glyph }} > - +