From 0263170bd2603165edecce1b55493c7b2092e2e6 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Wed, 5 Feb 2020 22:19:46 +0900 Subject: Treats digit keys with modifiers --- src/shared/settings/Key.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/settings') diff --git a/src/shared/settings/Key.ts b/src/shared/settings/Key.ts index cfe1e7e..1464e57 100644 --- a/src/shared/settings/Key.ts +++ b/src/shared/settings/Key.ts @@ -60,7 +60,7 @@ export default class Key { } isDigit(): boolean { - return digits.includes(this.key); + return digits.includes(this.key) && !this.ctrl && !this.alt && !this.meta; } equals(key: Key) { -- cgit v1.2.3