diff options
author | Damiano Galassi <[email protected]> | 2018-10-08 16:27:16 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-10-08 16:27:16 +0200 |
commit | a3fb08633e62775c251886aa6dff15e5f91f60e4 (patch) | |
tree | f0519e497d8f6b8ae7c472313cc4f61f647f50fa /macosx/HBAppDelegate.m | |
parent | 44623d61875d93f9f94ee027a25e384604c5ef27 (diff) |
MacGui: add touch bars to main and queue windows.
Diffstat (limited to 'macosx/HBAppDelegate.m')
-rw-r--r-- | macosx/HBAppDelegate.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/HBAppDelegate.m b/macosx/HBAppDelegate.m index 72e3f3656..e4d78e6fb 100644 --- a/macosx/HBAppDelegate.m +++ b/macosx/HBAppDelegate.m @@ -79,6 +79,10 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification { + if (@available (macOS 10.12.2, *)) + { + NSApplication.sharedApplication.automaticCustomizeTouchBarMenuItemEnabled = YES; + } self.presetsMenuBuilder = [[HBPresetsMenuBuilder alloc] initWithMenu:self.presetsMenu action:@selector(selectPresetFromMenu:) |