Add missing break in CGUIModalScreen::OnEvent.

Recently added code to allow using tab-key's inside modal dialogs could also be called when moving the mouse while the tab-key was pressed.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6232 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2021-08-20 12:27:05 +00:00
parent e98b3bed57
commit 7ce229a658

@ -136,6 +136,7 @@ bool CGUIModalScreen::OnEvent(const SEvent& event)
{
MouseDownTime = os::Timer::getTime();
}
break;
case EET_KEY_INPUT_EVENT:
// CAREFUL when changing - there's an identical check in CGUIEnvironment::postEventFromUser
if (Environment->getFocusBehavior() & EFF_SET_ON_TAB &&