mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix IME not being deactivated when editor is closed
Previously the IME was not deactivated when the editor is closed, so `SDL_TEXTINPUT` events where still being reported ingame after exiting the editor.
This commit is contained in:
parent
75326e8393
commit
c0da3b93e4
|
@ -3252,7 +3252,10 @@ void CClient::Run()
|
|||
}
|
||||
}
|
||||
else if(m_EditorActive)
|
||||
{
|
||||
Input()->SetIMEState(false);
|
||||
m_EditorActive = false;
|
||||
}
|
||||
|
||||
Update();
|
||||
int64_t Now = time_get();
|
||||
|
|
Loading…
Reference in a new issue