diff --git a/Editor.js b/Editor.js index 9162f191..d7f196c2 100644 --- a/Editor.js +++ b/Editor.js @@ -200,6 +200,10 @@ Editor.prototype = this.renderer.updateCursor(this.cursor); }, + resize : function() { + this.renderer.draw(); + }, + updateCursor : function() { this.renderer.updateCursor(this.cursor); }, diff --git a/editor.html b/editor.html index 53f3032a..99110776 100644 --- a/editor.html +++ b/editor.html @@ -9,26 +9,15 @@