mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 16:52:43 +08:00
Merge pull request #508 from zilongshanren/fix-button-hover-issue
fix interactive state change issue.
This commit is contained in:
@@ -416,8 +416,6 @@ var Button = cc.Class({
|
||||
},
|
||||
|
||||
_onMouseMoveOut: function(){
|
||||
if (!this.interactable || !this.enabledInHierarchy) return;
|
||||
|
||||
if (this._hovered) {
|
||||
this._hovered = false;
|
||||
this._updateState();
|
||||
|
||||
Reference in New Issue
Block a user