| 173 | } |
| 174 | |
| 175 | void TextInputNode::onTextFieldDetachWithIME() |
| 176 | { |
| 177 | if (_displayedLabel && _cursor) |
| 178 | { |
| 179 | _textField->setString(sanitizeString(_textField->getString())); |
| 180 | |
| 181 | _cursor->setVisible(false); |
| 182 | |
| 183 | updateDisplayedLabel(); |
| 184 | } |
| 185 | |
| 186 | if (_delegate) |
| 187 | _delegate->textInputClosed(this); |
| 188 | } |
| 189 | |
| 190 | void TextInputNode::onTextFieldChanged() |
| 191 | { |
nothing calls this directly
no test coverage detected