From 7e416f96c0944c65a17c7d127f75625cad1b7f53 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 22 Apr 2015 14:50:09 -0400 Subject: fixed focused char issues --- js/matrix.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/matrix.js') diff --git a/js/matrix.js b/js/matrix.js index d0c6301..dc5d166 100644 --- a/js/matrix.js +++ b/js/matrix.js @@ -23,6 +23,8 @@ Matrix.prototype.rebuild = function (){ this.append() this.bind() this.generate && this.generate() + // the focused character might disappear after resizing + focused = canvas.aa[0][0] } Matrix.prototype.bind = function () {} Matrix.prototype.demolish = function (){ -- cgit v1.2.3-70-g09d2