From 21a739a961212c1e233dfdc3a07f1e233491733a Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Tue, 6 Apr 2010 16:37:29 +0200 Subject: [PATCH] editor is now full screen --- Editor.js | 4 ++++ editor.html | 31 +++++++++++-------------------- 2 files changed, 15 insertions(+), 20 deletions(-) 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 @@