Merge pull request #508 from zilongshanren/fix-button-hover-issue

fix interactive state change issue.
This commit is contained in:
Jare Guo
2016-03-21 14:40:16 +08:00
-2
View File
@@ -416,8 +416,6 @@ var Button = cc.Class({
},
_onMouseMoveOut: function(){
if (!this.interactable || !this.enabledInHierarchy) return;
if (this._hovered) {
this._hovered = false;
this._updateState();