Fix bug where static canvas couldn't render overlay image.

This commit is contained in:
kangax 2012-04-20 13:30:44 +02:00
parent 0a0ab70f68
commit 6aef8a009d
4 changed files with 3 additions and 3 deletions

2
dist/all.js vendored
View file

@ -4938,7 +4938,7 @@ fabric.util.string = {
}
if (this.overlayImage) {
this.contextTop.drawImage(this.overlayImage, 0, 0);
(this.contextTop || this.contextContainer).drawImage(this.overlayImage, 0, 0);
}
if (this.onFpsUpdate) {

2
dist/all.min.js vendored

File diff suppressed because one or more lines are too long

BIN
dist/all.min.js.gz vendored

Binary file not shown.

View file

@ -501,7 +501,7 @@
}
if (this.overlayImage) {
this.contextTop.drawImage(this.overlayImage, 0, 0);
(this.contextTop || this.contextContainer).drawImage(this.overlayImage, 0, 0);
}
if (this.onFpsUpdate) {