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:
Eric Rowell
2013-10-18 09:41:12 -07:00

View File

@@ -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;