Fixed an issue where enableShadow/disableShadow didn't work after shap added into a layer

This commit is contained in:
kzhdev
2013-10-03 15:00:15 -05:00
parent ecde9a5d84
commit a246cb0de1

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', _clearHasShadowCache);
},
hasChildren: function() {
return false;