From cfa62166944f6d414d1c09756fef226dabcc5056 Mon Sep 17 00:00:00 2001 From: Zeno- Date: Tue, 20 Jun 2017 20:36:58 +1000 Subject: [PATCH] Fix console not being properly resized after window size changed (#6020) --- src/guiChatConsole.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/guiChatConsole.cpp b/src/guiChatConsole.cpp index 5bb80bbbe..91ed91301 100644 --- a/src/guiChatConsole.cpp +++ b/src/guiChatConsole.cpp @@ -231,6 +231,7 @@ void GUIChatConsole::reformatConsole() s32 rows = m_desired_height / m_fontsize.Y - 1; // make room for the input prompt if (cols <= 0 || rows <= 0) cols = rows = 0; + recalculateConsolePosition(); m_chat_backend->reformat(cols, rows); }