diff options
Diffstat (limited to 'desktop/sources/scripts/keyboard.js')
-rw-r--r-- | desktop/sources/scripts/keyboard.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/sources/scripts/keyboard.js b/desktop/sources/scripts/keyboard.js index 90a6139..45cc773 100644 --- a/desktop/sources/scripts/keyboard.js +++ b/desktop/sources/scripts/keyboard.js @@ -36,8 +36,8 @@ function Keyboard (terminal) { if (event.key === '[') { terminal.modGrid(-1, 0); event.preventDefault(); return } if (event.key === '}') { terminal.modGrid(0, 1); event.preventDefault(); return } if (event.key === '{') { terminal.modGrid(0, -1); event.preventDefault(); return } - if (event.key === '>') { terminal.clock.modSpeed(1); event.preventDefault(); return } - if (event.key === '<') { terminal.clock.modSpeed(-1); event.preventDefault(); return } + if (event.key === '>') { terminal.clock.mod(1); event.preventDefault(); return } + if (event.key === '<') { terminal.clock.mod(-1); event.preventDefault(); return } if (event.key.length === 1) { terminal.cursor.write(event.key) |