fix: keep docked recovery capsule off protected controls and address slot review

- Fall back to the default corner when the docked capsule's footprint
  (largest observed size) overlaps a visible protected control; runtime
  check only, no new chrome.json or skin.css restriction.
- Demo skin docks at align:start, away from the audio dock buttons.
- Compact mode: tap/click pins it open (touch), shortcut expansion clears
  when focus leaves; the 5 s full-display hold starts on first dock.
- Built-in button border uses the skin accent only when visible on #fff7ed.
- probeColor no longer misreads a token equal to its sentinel.
- Periodic re-check survives an exception and fails safe to floating.
- Browser fixture exercises bindHostSlot: dock, fallback, anti-flap,
  protected cover, offscreen, unreadable tokens, dispose.
This commit is contained in:
OddTurtleHead committed 2026-11-15 15:43:08 +08:00
1 parent aefa0bc163
commit 93d221c3ef
10 files changed
+404 -42

No files matched your search

Binary file not shown.
+1 -1
View File
@@ -10,6 +10,6 @@
"voice.performance": "assets/icons/status.png"
},
"slots": {
"host.recovery": { "anchor": "voice.audio-dock", "align": "end", "compact": true }
"host.recovery": { "anchor": "voice.audio-dock", "align": "start", "compact": true }
}
}