From fd125422e03cc5c9ee14bd913eea379202e76f9a Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 11 Feb 2019 20:19:34 +0900 Subject: Enable to bind space key --- src/shared/utils/keys.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/shared/utils/keys.js b/src/shared/utils/keys.js index 4579fde..f024069 100644 --- a/src/shared/utils/keys.js +++ b/src/shared/utils/keys.js @@ -1,4 +1,7 @@ const modifiedKeyName = (name) => { + if (name === ' ') { + return 'Space'; + } if (name.length === 1) { return name; } else if (name === 'Escape') { -- cgit v1.2.3