Menu: Ignore K_ESCAPE in CTextBox's input

This commit is contained in:
Marco Cawthorne 2020-06-30 19:10:59 +02:00
parent 419ee9ae8d
commit a0ba14d5de
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@ void CTextBox::Input(float type, float x, float y, float devid)
m_onEnter(m_text);
}
break;
case K_ESCAPE:
break;
default:
if (m_flags & TEXTBOX_FOCUS) {
m_text = sprintf("%s%s", m_text, chr2str(y));