mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-22 02:45:49 -04:00
fix cursor position in inputnode (#463)
This commit is contained in:
parent
ded1138f79
commit
8f6241a29c
1 changed files with 1 additions and 2 deletions
|
@ -30,8 +30,7 @@ struct TextInputNodeFix : Modify<TextInputNodeFix, CCTextInputNode> {
|
|||
}
|
||||
|
||||
this->onClickTrackNode(true);
|
||||
// TODO: this also relies on the broken position calculation
|
||||
// this->updateCursorPosition(pos, {{0, 0}, size});
|
||||
this->updateCursorPosition(touchPos, {{0, 0}, size});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue