fixed: key duplication in textview on ALT

This commit is contained in:
daboe01
2026-02-23 14:24:09 +01:00
parent f31ac7cf21
commit 19cceb4dd9
+1 -1
View File
@@ -590,7 +590,7 @@ var _CPEventPeriodicEventPeriod = 0,
// of the event, including the _isActionKey flag that was set at creation time.
return (
// Is it a command shortcut?
(_modifierFlags & (CPCommandKeyMask | CPControlKeyMask | CPAlternateKeyMask)) ||
(_modifierFlags & (CPCommandKeyMask | CPControlKeyMask)) ||
// Is it a key that doesn't produce a character?
([_characters length] === 0) ||