mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-11 23:33:10 +00:00
Bring IMG_WIDTH/IMG_HEIGHT back.
This commit is contained in:
parent
7151dc211c
commit
98614842e7
1 changed files with 2 additions and 2 deletions
|
|
@ -18,8 +18,8 @@
|
|||
'type': 'image',
|
||||
'left': 0,
|
||||
'top': 0,
|
||||
'width': 0, // node-canvas doesn't seem to allow setting width/height on image objects
|
||||
'height': 0,
|
||||
'width': IMG_WIDTH, // node-canvas doesn't seem to allow setting width/height on image objects
|
||||
'height': IMG_HEIGHT,
|
||||
'fill': 'rgb(0,0,0)',
|
||||
'overlayFill': null,
|
||||
'stroke': null,
|
||||
|
|
|
|||
Loading…
Reference in a new issue