Preserve input focus across passive overlays

This commit is contained in:
hugo committed 2026-07-23 09:28:16 +02:00
1 parent a01c86e383
commit 08a5bd192c
3 files changed
+54 -11

No files matched your search

+5
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.