mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-05 04:14:54 +00:00
Change canvasEl to work on browser and node.
This commit is contained in:
parent
ca7d16a041
commit
fb42a34bcd
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.lowerCanvasEl,
|
||||
var canvasEl = this.contextContainer.canvas,
|
||||
croppedCanvasEl = this.__getCroppedCanvas(canvasEl, cropping);
|
||||
|
||||
// to avoid common confusion https://github.com/kangax/fabric.js/issues/806
|
||||
|
|
|
|||
Loading…
Reference in a new issue