fix iOS text input submit
This commit is contained in:
@@ -109,6 +109,8 @@ kEventResult NodeTextInput::handle_event(Event* e)
|
||||
}
|
||||
else if (ke->m_char == '\n' || ke->m_char == '\r') // enter/return
|
||||
{
|
||||
if (on_return)
|
||||
on_return(this);
|
||||
}
|
||||
else if (ke->m_char >= 32 && ke->m_char < (32 + 96))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user