-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Milestone
Description
Bug report
Issue
A heads up that modifiers like:
Lines 2601 to 2607 in 813d842
NSMutableString* returnkey = [NSMutableString string]; | |
if ([event modifierFlags] & NSControlKeyMask) | |
[returnkey appendString:@"ctrl+" ]; | |
if ([event modifierFlags] & NSAlternateKeyMask) | |
[returnkey appendString:@"alt+" ]; | |
if ([event modifierFlags] & NSCommandKeyMask) | |
[returnkey appendString:@"cmd+" ]; |
are deprecated:
https://developer.apple.com/documentation/appkit/nseventmodifierflags?language=objc
and probably need to be replaced by the flags like NSEventModifierFlagCommand
etc.
I'd change, but I'm not sure how this will affect older OS X installs etc...