diff options
author | Damiano Galassi <[email protected]> | 2018-06-10 09:12:18 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-06-10 09:12:18 +0200 |
commit | 0e8eb04fd769fa471b71e5e5f81b55c47537d694 (patch) | |
tree | 5597113cd9a93a437af03859b38a22e2ea424f40 /macosx/HBPlayerHUDController.m | |
parent | d3cd483eeddd8726bad862e811b31f75c1fad965 (diff) |
MacGui: fix another round of deprecation warnings. Remove drawer code.
Diffstat (limited to 'macosx/HBPlayerHUDController.m')
-rw-r--r-- | macosx/HBPlayerHUDController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPlayerHUDController.m b/macosx/HBPlayerHUDController.m index b3b391cbd..82b68b494 100644 --- a/macosx/HBPlayerHUDController.m +++ b/macosx/HBPlayerHUDController.m @@ -303,11 +303,11 @@ [self.player play]; self.player.rate = rate; } - else if (event.modifierFlags & NSAlternateKeyMask && key == NSLeftArrowFunctionKey) + else if (event.modifierFlags & NSEventModifierFlagOption && key == NSLeftArrowFunctionKey) { [self.player gotoBeginning]; } - else if (event.modifierFlags & NSAlternateKeyMask && key == NSRightArrowFunctionKey) + else if (event.modifierFlags & NSEventModifierFlagOption && key == NSRightArrowFunctionKey) { [self.player gotoEnd]; } |