From 4c44efdc1e7a2c1bb06274b206de7a982fb03d12 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 14 May 2013 14:18:46 +0200 Subject: Paint editor fixes --- paint.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'paint.js') diff --git a/paint.js b/paint.js index 9278186..0f1d8e1 100644 --- a/paint.js +++ b/paint.js @@ -539,8 +539,8 @@ PaintCanvasMorph.prototype.centermerge = function(a, b) { ); }; -PaintCanvasMorph.prototype.clearCanvas = function() { - this.fixLayout(); +PaintCanvasMorph.prototype.clearCanvas = function() { + this.buildContents(); this.drawNew(); this.changed(); }; -- cgit v1.3.1