mirror of
https://github.com/google/blockly.git
synced 2026-02-09 17:10:14 +01:00
fix: Don't duplicate constants.
This commit is contained in:
@@ -156,5 +156,7 @@ export enum KeyCodes {
|
||||
|
||||
// The primary modifier key on the current platform, i.e. Command on Apple
|
||||
// platforms and Control elsewhere.
|
||||
CTRL_CMD = userAgent.MAC || userAgent.IPHONE || userAgent.IPAD ? 91 : 17,
|
||||
CTRL_CMD = userAgent.MAC || userAgent.IPHONE || userAgent.IPAD
|
||||
? MAC_WK_CMD_LEFT
|
||||
: CTRL,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user