summaryrefslogtreecommitdiff
path: root/js/matrix.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/matrix.js')
-rw-r--r--js/matrix.js2
1 files changed, 2 insertions, 0 deletions
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 (){