Fix console not being properly resized after window size changed (#6020)
authorZeno- <kde.psych@gmail.com>
Tue, 20 Jun 2017 10:36:58 +0000 (20:36 +1000)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:31:59 +0000 (17:31 +0200)
src/guiChatConsole.cpp

index 5bb80bbbe1b8c44931d5d7f2725f310b5bbcf718..91ed913015f991db3b250ed5f76938de2f4c774b 100644 (file)
@@ -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);
 }