Preserve input focus across passive overlays

This commit is contained in:
2026-07-23 09:28:16 +02:00
parent a01c86e383
commit 08a5bd192c
3 changed files with 54 additions and 11 deletions

View File

@@ -210,6 +210,11 @@ invariant ActivityActiveHighlight {
btn.active = (active_view = btn.id and sidebar_visible)
}
invariant PassiveOverlayFocusStability {
-- Adding or removing passive overlays such as toasts and background-task
-- notifications never changes the keyboard-focused control.
}
-- ─── Git badge ────────────────────────────────────────────────
-- Only the git activity button carries a badge.