summaryrefslogtreecommitdiff
path: root/morphic.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-12-12 15:27:49 +0100
committerjmoenig <jens@moenig.org>2013-12-12 15:27:49 +0100
commitf48460fc2544fe6af4f20f79aa8e56d92a3423b6 (patch)
tree12b43da3efc033f131efa72cb719278951396b7b /morphic.js
parent59a39077b80d35fdb47ea67b4d87f1ab9a67807f (diff)
downloadsnap-f48460fc2544fe6af4f20f79aa8e56d92a3423b6.tar.gz
snap-f48460fc2544fe6af4f20f79aa8e56d92a3423b6.zip
null-canvas blitting bug follow-up
Diffstat (limited to 'morphic.js')
-rw-r--r--morphic.js2
1 files changed, 1 insertions, 1 deletions
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,