mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 16:42:58 +00:00
Merge branch 'right-command-key-fix' of https://github.com/aparajita/cappuccino into aparajita-right-command-key-fix
This commit is contained in:
commit
8feb5b5cee
2 files changed
+7
-5
No files matched your search
@@ -183,11 +183,12 @@ KeyCodesToUnicodeMap[CPKeyCodes.BACKSLASH] = "\\";
|
||||
KeyCodesToUnicodeMap[CPKeyCodes.CLOSE_SQUARE_BRACKET] = "]";
|
||||
|
||||
var ModifierKeyCodes = [
|
||||
CPKeyCodes.META,
|
||||
CPKeyCodes.MAC_FF_META,
|
||||
CPKeyCodes.CTRL,
|
||||
CPKeyCodes.ALT,
|
||||
CPKeyCodes.SHIFT
|
||||
CPKeyCodes.META,
|
||||
CPKeyCodes.WEBKIT_RIGHT_META,
|
||||
CPKeyCodes.MAC_FF_META,
|
||||
CPKeyCodes.CTRL,
|
||||
CPKeyCodes.ALT,
|
||||
CPKeyCodes.SHIFT
|
||||
],
|
||||
supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop];
|
||||
|
||||
|
||||
@@ -83,6 +83,7 @@ CPKeyCodes = {
|
||||
Y: 89,
|
||||
Z: 90,
|
||||
META: 91,
|
||||
WEBKIT_RIGHT_META: 93, // WebKit (on Mac at least) fires this for the right Command key
|
||||
CONTEXT_MENU: 93,
|
||||
NUM_ZERO: 96,
|
||||
NUM_ONE: 97,
|
||||
|
||||
Reference in new issue
Block a user