From 318106223fc7351bd879980c17ee9c4bee65a272 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 f8c3ed4c1..ecd280f5e 100644 --- a/src/guiChatConsole.cpp +++ b/src/guiChatConsole.cpp @@ -213,6 +213,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); }