summaryrefslogtreecommitdiff
path: root/tools/mq_editor/app.js
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-18 21:50:54 +0100
committerskal <pascal.massimino@gmail.com>2026-02-18 21:50:54 +0100
commit080f457040ca54256325b922ebd67cde5c0dc030 (patch)
tree103189c62ed7b7071a0f7c1f509d684d6e0659ca /tools/mq_editor/app.js
parent8f069fc08a123b1544c2a978586046e1ebb2173a (diff)
fix(mq_editor): swap keys 1/2 — 1=original, 2=synth, 3=partial
handoff(Gemini): key bindings updated in app.js and README.md
Diffstat (limited to 'tools/mq_editor/app.js')
-rw-r--r--tools/mq_editor/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mq_editor/app.js b/tools/mq_editor/app.js
index d53af37..1e17adf 100644
--- a/tools/mq_editor/app.js
+++ b/tools/mq_editor/app.js
@@ -513,10 +513,10 @@ document.addEventListener('keydown', (e) => {
}
if (e.code === 'Digit1') {
e.preventDefault();
- playSynthesized();
+ if (!playBtn.disabled) playOriginal();
} else if (e.code === 'Digit2') {
e.preventDefault();
- if (!playBtn.disabled) playOriginal();
+ playSynthesized();
} else if (e.code === 'Digit3') {
e.preventDefault();
const sel = viewer ? viewer.selectedPartial : -1;