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 @@ class GUIChatConsole : public gui::IGUIElement
virtual bool OnEvent(const SEvent& event);
virtual void setVisible(bool visible);
private:
void reformatConsole();
void recalculateConsolePosition();