fix text bounds and cursor

This commit is contained in:
2019-09-19 08:42:35 +02:00
parent 72fa400651
commit 4f9383aba7
2 changed files with 13 additions and 14 deletions

View File

@@ -110,7 +110,7 @@ kEventResult NodeTextInput::handle_event(Event* e)
on_return(this);
}
}
else if (ke->m_char >= 32 && ke->m_char < (32 + 96))
else if (ke->m_char >= 32 && ke->m_char < 127) // visible ascii character
{
m_text += (char)ke->m_char;
set_text(m_text);