mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 11:12:01 +02:00
Change keyboard shortcut to avoid conflict
This commit is contained in:
parent
ced9473eb3
commit
1ddae1c61a
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
var APP_NAME = "EZRECORD",
|
var APP_NAME = "EZRECORD",
|
||||||
APP_ICON_INACTIVE = "icons/tablet-icons/avatar-record-i.svg",
|
APP_ICON_INACTIVE = "icons/tablet-icons/avatar-record-i.svg",
|
||||||
APP_ICON_ACTIVE = "icons/tablet-icons/avatar-record-a.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,
|
tablet,
|
||||||
button,
|
button,
|
||||||
isRecording = false;
|
isRecording = false;
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function onKeyPressEvent(event) {
|
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();
|
toggleRecording();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue