summaryrefslogtreecommitdiff
path: root/client/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/index.js')
-rw-r--r--client/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/index.js b/client/index.js
index 409ab8e..a4d5558 100644
--- a/client/index.js
+++ b/client/index.js
@@ -159,11 +159,11 @@ function keydown(e){
break
case 38: // up
life_bpm += e.shiftKey ? 1 : 5
- life_bpm = Math.max(1, life_bpm)
life.setTempo(life_bpm)
break
case 40: // down
life_bpm -= e.shiftKey ? 1 : 5
+ life_bpm = Math.max(1, life_bpm)
life.setTempo(life_bpm)
break
case 83: // s