From 1ddae1c61ad02c82538d0360cfebbccd937a2c5a Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 24 Jun 2017 13:19:25 +1200 Subject: [PATCH] Change keyboard shortcut to avoid conflict --- scripts/developer/EZrecord.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/developer/EZrecord.js b/scripts/developer/EZrecord.js index d28c182ea0..bb173343df 100644 --- a/scripts/developer/EZrecord.js +++ b/scripts/developer/EZrecord.js @@ -15,7 +15,7 @@ var APP_NAME = "EZRECORD", APP_ICON_INACTIVE = "icons/tablet-icons/avatar-record-i.svg", APP_ICON_ACTIVE = "icons/tablet-icons/avatar-record-a.svg", - SHORTCUT_KEY = "r", // Ctrl modifier is assumed. + SHORTCUT_KEY = "r", // Alt modifier is assumed. tablet, button, isRecording = false; @@ -27,7 +27,7 @@ } function onKeyPressEvent(event) { - if (event.isControl && event.text === SHORTCUT_KEY && !event.isMeta && !event.isAlt && !event.isAutoRepeat) { + if (event.isAlt && event.text === SHORTCUT_KEY && !event.isControl && !event.isMeta && !event.isAutoRepeat) { toggleRecording(); } }