mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-28 01:04:43 +00:00
Fix backgroundColor render on nodejs
This commit is contained in:
parent
246c45d57c
commit
b6a178d8a1
1 changed files with 0 additions and 4 deletions
|
|
@ -146,11 +146,7 @@
|
|||
|
||||
var origSetWidth = fabric.StaticCanvas.prototype.setWidth;
|
||||
fabric.StaticCanvas.prototype.setWidth = function(width) {
|
||||
<<<<<<< HEAD
|
||||
origSetWidth.call(this, width);
|
||||
=======
|
||||
origSetWidth.call(this, height);
|
||||
>>>>>>> f84a8628c3dc7cbdaf34c4a2487fc2d6eae33277
|
||||
this.nodeCanvas.width = width;
|
||||
return this;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue