mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01: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",
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue