add _previousNormalSprite to ctor

This commit is contained in:
zilongshanren
2016-06-16 17:10:18 +08:00
parent 64144568a3
commit 91ded17834
+3
View File
@@ -111,6 +111,9 @@ var Button = cc.Class({
this._toColor = null;
this._time = 0;
this._transitionFinished = true;
if(CC_EDITOR) {
this._previousNormalSprite = null;
}
},
editor: CC_EDITOR && {