1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix chat console not opening after formspec opened over it

The MainMenuManager set the console invisible when a
formspec opened over it, but didn't properly close it,
and the chat console never set itself visible again.
This commit is contained in:
ShadowNinja 2016-03-12 11:58:02 -05:00
parent 20312fda18
commit 8c951cae5b
2 changed files with 19 additions and 0 deletions

View file

@ -77,6 +77,8 @@ public:
virtual bool OnEvent(const SEvent& event);
virtual void setVisible(bool visible);
private:
void reformatConsole();
void recalculateConsolePosition();