From cb37ae1f0bda122a9b1f47dfb0699eb091aadcf6 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Mon, 15 Apr 2019 06:59:03 +0900 Subject: Time no longer breaks f --- desktop/sources/scripts/commander.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/sources/scripts/commander.js b/desktop/sources/scripts/commander.js index 2b72011..5b902ff 100644 --- a/desktop/sources/scripts/commander.js +++ b/desktop/sources/scripts/commander.js @@ -38,7 +38,7 @@ function Commander (terminal) { this.operations = { 'play': (val) => { terminal.clock.play() }, 'stop': (val) => { terminal.clock.stop() }, - 'time': (val) => { terminal.clock.setFrame(val) }, + 'time': (val) => { terminal.clock.setFrame(parseInt(val)) }, 'goto': (val) => { terminal.cursor.goto(val) }, 'run': (val) => { terminal.run() }, 'bpm': (val) => { terminal.clock.set(parseInt(val), parseInt(val), true) }, -- cgit v1.2.3