summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-03-03 16:31:31 +0100
committerder richter <der.richter@gmx.de>2024-03-07 01:03:52 +0100
commit37990597c734910f170fc021bbadb78adb14fd1a (patch)
treead69229f6cb13588eb460a7cd7813bd1ada3f416
parent035906dad52c47239cfcdc8f82e7fb56c9f41e3b (diff)
downloadmpv-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.swift6
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
}