From f48460fc2544fe6af4f20f79aa8e56d92a3423b6 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Thu, 12 Dec 2013 15:27:49 +0100 Subject: null-canvas blitting bug follow-up --- morphic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'morphic.js') diff --git a/morphic.js b/morphic.js index f6e55e3..b3c9769 100644 --- a/morphic.js +++ b/morphic.js @@ -2735,7 +2735,7 @@ Morph.prototype.fullImage = function () { this.allChildren().forEach(function (morph) { if (morph.isVisible) { ctx.globalAlpha = morph.alpha; - if (morph.extent().gt(new Point())) { + if (morph.image.width && morph.image.height) { ctx.drawImage( morph.image, morph.bounds.origin.x - fb.origin.x, -- cgit v1.3.1