mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 02:52:39 +08:00
Merge pull request #496 from pandamicro/v1.0
Fix child of inactive node can receive event issue
This commit is contained in:
@@ -1115,7 +1115,7 @@ var Node = cc.Class({
|
||||
},
|
||||
|
||||
isRunning: function () {
|
||||
return this.active;
|
||||
return this._activeInHierarchy;
|
||||
},
|
||||
|
||||
// ACTIONS
|
||||
|
||||
Reference in New Issue
Block a user