mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
remove unused logic
This commit is contained in:
@@ -416,7 +416,6 @@ var Button = cc.Class({
|
||||
|
||||
update: function (dt) {
|
||||
var target = this.target;
|
||||
if(!target) return;
|
||||
if(this._transitionFinished) return;
|
||||
if (this.transition !== Transition.COLOR && this.transition !== Transition.SCALE) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user