fix: Don't duplicate constants.

This commit is contained in:
Aaron Dodson
2026-01-16 08:14:58 -08:00
parent c21c707c22
commit 6aa26b39b0

View File

@@ -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,
}