mirror of
https://github.com/konvajs/konva.git
synced 2025-12-29 10:04:34 +08:00
Merge pull request #623 from kzhdev/fix-shadow-enable-disable
Fixed an issue where enableShadow/disableShadow doesn't work after a shape added into the layer.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
|
||||
this._setDrawFuncs();
|
||||
|
||||
this.on('shadowColorChange.kinetic shadowBlurChange.kinetic shadowOffsetChange.kinetic shadowOpacityChange.kinetic', _clearHasShadowCache);
|
||||
this.on('shadowColorChange.kinetic shadowBlurChange.kinetic shadowOffsetChange.kinetic shadowOpacityChange.kinetic shadowEnabledChanged.kinetic', _clearHasShadowCache);
|
||||
},
|
||||
hasChildren: function() {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user