fix(app): focus toggle shortcut ⇧⌘F → ⌃F (#87 follow-up)

⇧⌘F collides with a system-wide shortcut on Alexander's machine —
the charting probe only checked NSUserKeyEquivalents and in-app
collisions, not global hotkeys. ⌃F is free.
This commit is contained in:
AlexKucera committed 2026-10-09 11:23:16 +02:00
1 parent b0ab800d3d
commit 9c2926f027
1 file changed
+2 -1
+2 -1
View File
@@ -98,6 +98,7 @@ struct MuseionApp: App {
// #21: focus mode — beside reading, same posture (system View
// menu + shortcut). Transient like reading: no persistence, no
// Esc exit (rejected at charting) — the toggle is the only way.
// ⌃F (⇧⌘F is taken by a system-wide shortcut on this machine).
FocusModeToggle(gate: gate)
}
// #50: reveal the snapshots folder in Finder (restore = manual
@@ -143,7 +144,7 @@ private struct FocusModeToggle: View {
// even then (trashing the open post while focused must not trap).
let canFocus = gate.isFocused || gate.posts.session != nil || gate.posts.draft != nil
Button("Toggle Focus Mode") { gate.isFocused.toggle() }
.keyboardShortcut("f", modifiers: [.command, .shift])
.keyboardShortcut("f", modifiers: .control)
.disabled(!canFocus)
}
}