Menu: Ignore K_ESCAPE in CTextBox's input
This commit is contained in:
parent
419ee9ae8d
commit
a0ba14d5de
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue