Commit 40387a4
committed
fix: enable Globe+F (fn+F) fullscreen shortcut for SwiftUI lifecycle app
SwiftUI lifecycle apps don't create a real NSMenuItem for "Enter Full Screen" —
the shortcut shown in the View menu is a visual hint only, with no key
equivalent binding. macOS maps Globe+F to ⌃⌘F, so install a local event
monitor to bridge the gap.1 parent b87317e commit 40387a4
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
128 | 147 | | |
129 | 148 | | |
130 | 149 | | |
| |||
0 commit comments