diff options
author | Teddy Wing | 2023-08-20 19:57:55 +0200 |
---|---|---|
committer | Teddy Wing | 2023-08-20 19:57:55 +0200 |
commit | 0315f80a1277c6cf3228c56a6fb4b6c67c0b7409 (patch) | |
tree | 355dcc51eb8006b0bff9d2ddb8425e380f580549 /src | |
parent | d99de28d142bb8c941e5df486a7ba749e419476e (diff) | |
download | Base-Windowed-Application-0315f80a1277c6cf3228c56a6fb4b6c67c0b7409.tar.bz2 |
MainMenu: Fix "Enter Full Screen" shortcut
Turns out the problem was that I just didn't update the keyEquivalent
after copy-pasting this paragraph. Now it works correctly.
As for the tab bar menu items, it looks like those are inserted
automatically in an Xcode-generated app, so it isn't strange that
they're there.
Diffstat (limited to 'src')
-rw-r--r-- | src/MainMenu.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainMenu.m b/src/MainMenu.m index bfb8144..22688d5 100644 --- a/src/MainMenu.m +++ b/src/MainMenu.m @@ -769,7 +769,7 @@ NSMenuItem *MainMenuCreateViewMenuItem() NSMenuItem *enter_full_screen_menu_item = [view_menu addItemWithTitle:@"Enter Full Screen" action:@selector(toggleFullScreen:) - keyEquivalent:@"s"]; + keyEquivalent:@"f"]; [enter_full_screen_menu_item setKeyEquivalentModifierMask: NSEventModifierFlagCommand | NSEventModifierFlagControl]; |