diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-22 14:47:43 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-22 14:47:43 -0500 |
| commit | b4d19e469b3de98778002ac97814c6b647cba113 (patch) | |
| tree | ab4d0f8ad5d33588a8287530971880f1889da5cd /js/matrix.js | |
| parent | dd8a053f9845d4adeb8540f24d1e8d46def35ad3 (diff) | |
better chara input
Diffstat (limited to 'js/matrix.js')
| -rw-r--r-- | js/matrix.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/matrix.js b/js/matrix.js index a36d3db..8975f15 100644 --- a/js/matrix.js +++ b/js/matrix.js @@ -40,8 +40,8 @@ Matrix.prototype.forEach = function(f){ }) }) } -Matrix.prototype.focusLex = function(y,x){ - this.aa[mod(x,this.h)][mod(y,this.w)].focus() +Matrix.prototype.focusLex = function(x,y){ + this.aa[mod(y,this.h)][mod(x,this.w)].focus() } Matrix.prototype.clear = function(){ this.forEach(function(lex,x,y){ lex.clear() }) |
