diff options
author | Devine Lu Linvega <[email protected]> | 2019-04-12 09:39:01 +0900 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2019-04-12 09:39:01 +0900 |
commit | 0c88dfe73029ce23a17b56c7e40e0e318813d14a (patch) | |
tree | e37e1fa05a9d05f92f68b35e1c9a56fed6adc895 | |
parent | 0e986c69315fd2e37d70871126f9062fc568aa66 (diff) | |
download | Orca-0c88dfe73029ce23a17b56c7e40e0e318813d14a.tar.gz Orca-0c88dfe73029ce23a17b56c7e40e0e318813d14a.zip |
Fixed issue with BPM setter
-rw-r--r-- | desktop/sources/scripts/clock.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/sources/scripts/clock.js b/desktop/sources/scripts/clock.js index e563ea2..b53db1f 100644 --- a/desktop/sources/scripts/clock.js +++ b/desktop/sources/scripts/clock.js @@ -59,9 +59,10 @@ function Clock (terminal) { } this.setSpeed = function (bpm, animate = false) { - if (animate) { + if (animate === true) { this.speed.target = bpm } else { + this.speed.target = bpm this.setTimer(bpm) } } |