mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-23 20:55:47 +00:00
Merge pull request #2491 from asturur/fix-object.toDataURL
Update canvas_dataurl_exporter.mixin.js
This commit is contained in:
commit
33cdaa1289
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.Stati
|
|||
|
||||
this.renderAll();
|
||||
|
||||
var canvasEl = this.upperCanvasEl || this.lowerCanvasEl,
|
||||
var canvasEl = this.lowerCanvasEl,
|
||||
croppedCanvasEl = this.__getCroppedCanvas(canvasEl, cropping);
|
||||
|
||||
// to avoid common confusion https://github.com/kangax/fabric.js/issues/806
|
||||
|
|
|
|||
Loading…
Reference in a new issue