summaryrefslogtreecommitdiff
path: root/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/app.js')
-rw-r--r--js/app.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/js/app.js b/js/app.js
index b2f1dfa..bebfec2 100644
--- a/js/app.js
+++ b/js/app.js
@@ -77,26 +77,18 @@ function bind () {
return
case 38: // up
e.preventDefault()
- direction[0] = -1
- direction[1] = 0
current_canvas.focusLex(focused.y + direction[0], focused.x + direction[1])
break
case 40: // down
e.preventDefault()
- direction[0] = 1
- direction[1] = 0
current_canvas.focusLex(focused.y + direction[0], focused.x + direction[1])
break
case 37: // left
e.preventDefault()
- direction[0] = 0
- direction[1] = -1
current_canvas.focusLex(focused.y + direction[0], focused.x + direction[1])
break
case 39: // right
e.preventDefault()
- direction[0] = 0
- direction[1] = 1
current_canvas.focusLex(focused.y + direction[0], focused.x + direction[1])
break
// default: