From 1bb3b459b13c4ca05b6b6257d6a3402a89ff473a Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Fri, 9 Oct 2026 11:44:49 +0200 Subject: [PATCH] =?UTF-8?q?fix(app):=20focus=20shortcut=20=E2=8C=83F=20?= =?UTF-8?q?=E2=86=92=20=E2=8C=A5=E2=8C=98F=20(#87)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ⌃F shadowed the editor's Emacs caret-forward binding (menu key equivalents beat the responder chain). --- Museion/MuseionApp.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Museion/MuseionApp.swift b/Museion/MuseionApp.swift index 6c8e81b..fa6cbf4 100644 --- a/Museion/MuseionApp.swift +++ b/Museion/MuseionApp.swift @@ -98,7 +98,8 @@ 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). + // ⌥⌘F — ⇧⌘F is taken by a system-wide shortcut on this machine, + // ⌃F shadows the editor's Emacs caret-forward binding. FocusModeToggle(gate: gate) } // #50: reveal the snapshots folder in Finder (restore = manual @@ -144,7 +145,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: .control) + .keyboardShortcut("f", modifiers: [.command, .option]) .disabled(!canFocus) } }