Sfoglia il codice sorgente

enable text input in menu

Thomas Buck 9 anni fa
parent
commit
1a4342363b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/UI.cpp

+ 1
- 1
src/UI.cpp Vedi File

@@ -208,7 +208,7 @@ void UI::eventsFinished() {
208 208
     }
209 209
 
210 210
     if (Window::getTextInput() != (visible || Console::isVisible() || Menu::isVisible()))
211
-        Window::setTextInput(visible || Console::isVisible());
211
+        Window::setTextInput(visible || Console::isVisible() || Menu::isVisible());
212 212
 
213 213
     bool input = !(visible || Console::isVisible() || Menu::isVisible());
214 214
     if (Window::getMousegrab() != input)

Loading…
Annulla
Salva