mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-13 19:00:59 +00:00
Update object.class.js
as suggested by Kienz.
This commit is contained in:
parent
a95897313f
commit
22b0149e49
1 changed files with 1 additions and 1 deletions
|
|
@ -1304,7 +1304,7 @@
|
|||
* canvas.renderAll();
|
||||
*/
|
||||
setShadow: function(options) {
|
||||
return this.set('shadow', new fabric.Shadow(options));
|
||||
return this.set('shadow', options ? new fabric.Shadow(options) : null);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue