Bug Fix: Disable hotkeys configuration on macOS<15
MASShortcutView is apparently buggy on older macOS versions. So everyone there gets hard coded shortcuts and nothing else. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
d3f99f8987
commit
d99eda15b5
1 changed files with 18 additions and 8 deletions
|
@ -42,6 +42,7 @@
|
||||||
owner:plugin
|
owner:plugin
|
||||||
topLevelObjects:nil];
|
topLevelObjects:nil];
|
||||||
|
|
||||||
|
if(@available(macOS 15, *)) {
|
||||||
return @[[plugin playlistPane],
|
return @[[plugin playlistPane],
|
||||||
[plugin hotKeyPane],
|
[plugin hotKeyPane],
|
||||||
[plugin outputPane],
|
[plugin outputPane],
|
||||||
|
@ -50,6 +51,15 @@
|
||||||
[plugin appearancePane],
|
[plugin appearancePane],
|
||||||
[plugin midiPane],
|
[plugin midiPane],
|
||||||
[plugin rubberbandPane]];
|
[plugin rubberbandPane]];
|
||||||
|
} else {
|
||||||
|
return @[[plugin playlistPane],
|
||||||
|
[plugin outputPane],
|
||||||
|
[plugin generalPane],
|
||||||
|
[plugin notificationsPane],
|
||||||
|
[plugin appearancePane],
|
||||||
|
[plugin midiPane],
|
||||||
|
[plugin rubberbandPane]];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (HotKeyPane *)hotKeyPane {
|
- (HotKeyPane *)hotKeyPane {
|
||||||
|
|
Loading…
Reference in a new issue