diff options
| -rw-r--r-- | packages/ext-stage-dock/src/extension.cpp | 16 | ||||
| -rw-r--r-- | tasks.md | 7 |
2 files changed, 19 insertions, 4 deletions
diff --git a/packages/ext-stage-dock/src/extension.cpp b/packages/ext-stage-dock/src/extension.cpp index bd643ba..caac456 100644 --- a/packages/ext-stage-dock/src/extension.cpp +++ b/packages/ext-stage-dock/src/extension.cpp @@ -235,12 +235,20 @@ div.slot { animation: slot-enter 0.16s cubic-out 1 normal; } div.slot div.thumb { + /* OVERSCAN the slot by 2dp on every side: RmlUi resolves the inset/percent + box anchored top-left, leaving the thumb ~2px short on the RIGHT so the + #2e2e32 slot placeholder peeked through there (diagnosed real-seat: the + sliver sampled as the placeholder, not the thumb). A negative inset makes + the thumb a few dp LARGER than the slot; the slot's rounded overflow:hidden + clips the overscan to the rounded card, so every edge is fully covered with + no placeholder peek and the corners stay rounded. cover/center keeps the + slightly-larger box fully covered + centered. */ display: block; position: absolute; - left: 0; - top: 0; - right: 0; - bottom: 0; + left: -2dp; + top: -2dp; + right: -2dp; + bottom: -2dp; } div.slot span.title { /* Title overlay INTENTIONALLY NOT RENDERED (user decision): the card is @@ -40,6 +40,13 @@ real-seat feel pending):** through; cards keep their panel), surface hugs the card stack (no full-height input capture), and re-minimize-after-empty fixed (stale `focused_`: restore now sets it directly since a non-defocused window's `focus()` is a seat no-op). (661166a) +- CARD = ROUNDED THUMBNAIL (REAL-SEAT VERIFIED): the card IS the window preview, + rounded on all four corners — a full-bleed `image(... cover center)` decorator on + a child of a rounded `overflow:hidden` slot (RmlUi won't clip an element's OWN + decorator to its OWN radius → decorator lives on the clipped child). First use of + the substrate's RmlUi clipping path (scissor + stencil clip-mask); kernel verified + it correct + added 4 regression tests (6519ebf). Title overlay parked + (`display:none`, binding kept) for a later text redesign — user's call. (a743f44) **NEXT (needs user):** 1. REAL-SEAT feel check (covers c2+d1): `~/start-unbox.sh -s foot`, Super+M minimizes |
