mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-03-16 22:10:32 +00:00
Fix bug where static canvas couldn't render overlay image.
This commit is contained in:
parent
0a0ab70f68
commit
6aef8a009d
4 changed files with 3 additions and 3 deletions
2
dist/all.js
vendored
2
dist/all.js
vendored
|
|
@ -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
2
dist/all.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/all.min.js.gz
vendored
BIN
dist/all.min.js.gz
vendored
Binary file not shown.
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue