mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
add _previousNormalSprite to ctor
This commit is contained in:
@@ -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 && {
|
||||
|
||||
Reference in New Issue
Block a user