Stop annoying beeps and exceptions

This commit is contained in:
Lior Halphon 2018-03-02 19:37:40 +02:00
parent 94c6dbd281
commit 3c8f3ad3fc

View File

@ -204,7 +204,7 @@
} }
} }
if (!handled) { if (!handled && [theEvent type] != NSEventTypeFlagsChanged) {
[super keyDown:theEvent]; [super keyDown:theEvent];
} }
} }
@ -238,7 +238,7 @@
} }
} }
if (!handled) { if (!handled && [theEvent type] != NSEventTypeFlagsChanged) {
[super keyUp:theEvent]; [super keyUp:theEvent];
} }
} }