Make movement keys not function in text input mode

new-script-api
scrawl 7 years ago
parent b7eda61f7a
commit 3b9e1e8c1b

@ -176,6 +176,8 @@ namespace MWInput
void InputManager::handleGuiArrowKey(int action) void InputManager::handleGuiArrowKey(int action)
{ {
if (SDL_IsTextInputActive())
return;
MyGUI::KeyCode key; MyGUI::KeyCode key;
switch (action) switch (action)
{ {

Loading…
Cancel
Save