diff options
author | der richter <der.richter@gmx.de> | 2024-03-03 16:31:31 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2024-03-07 01:03:52 +0100 |
commit | 37990597c734910f170fc021bbadb78adb14fd1a (patch) | |
tree | ad69229f6cb13588eb460a7cd7813bd1ada3f416 | |
parent | 035906dad52c47239cfcdc8f82e7fb56c9f41e3b (diff) | |
download | mpv-37990597c734910f170fc021bbadb78adb14fd1a.tar.bz2 mpv-37990597c734910f170fc021bbadb78adb14fd1a.tar.xz |
mac/menu: fix touch bar menu item
the check broke when the runtime check was removed, eg the menu item was
never added to the menu. since we only add the menu item to the config
when touch bar support is available the check is completely unnecessary.
-rw-r--r-- | osdep/mac/menu_bar.swift | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/osdep/mac/menu_bar.swift b/osdep/mac/menu_bar.swift index 590c306ec4..a15d6da713 100644 --- a/osdep/mac/menu_bar.swift +++ b/osdep/mac/menu_bar.swift @@ -257,12 +257,6 @@ class MenuBar: NSObject { menuConfigs[menuConfigIndex].menuItem = item for (subConfigIndex, subConfig) in (menuConfig.configs ?? []).enumerated() { -#if HAVE_MACOS_TOUCHBAR - if subConfig.action == "toggleTouchBarCustomizationPalette:" { - continue - } -#endif - if subConfig.name == "Show log Fileā¦" && ProcessInfo.processInfo.environment["MPVBUNDLE"] != "true" { continue } |