mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-19 17:39:50 -04:00
fix text input being clickable when invisible
This commit is contained in:
parent
1145426402
commit
3fbda5748e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ struct TextInputNodeFix : Modify<TextInputNodeFix, CCTextInputNode> {
|
|||
return CCTextInputNode::ccTouchBegan(touch, event);
|
||||
}
|
||||
|
||||
if (!this->isVisible()) {
|
||||
if (!nodeIsVisible(this)) {
|
||||
this->onClickTrackNode(false);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue