Change sybolic constant for insert key
This commit is contained in:
parent
c6039fc399
commit
f28d9bcd8c
@ -496,7 +496,7 @@ is_modified_special_key(NSEvent *event, NSEventModifierFlags modifierFlags) {
|
|||||||
case 0x1b: // Esc
|
case 0x1b: // Esc
|
||||||
if (modifierFlags & (NSEventModifierFlagCommand | NSEventModifierFlagControl)) return true;
|
if (modifierFlags & (NSEventModifierFlagCommand | NSEventModifierFlagControl)) return true;
|
||||||
break;
|
break;
|
||||||
case NSInsertFunctionKey: // Insert
|
case NSHelpFunctionKey: // For some reason keyboards with an insert key have it mapped to help
|
||||||
if (!modifierFlags || modifierFlags == NSEventModifierFlagShift) return true;
|
if (!modifierFlags || modifierFlags == NSEventModifierFlagShift) return true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user