From 849fe19f8cc89dbe92b24e6020e3a1618a3171e2 Mon Sep 17 00:00:00 2001 From: Ezhh Date: Wed, 21 Jun 2017 06:50:57 +0100 Subject: [PATCH] Fix console resize issue when maximising game window (#6023) --- src/guiChatConsole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guiChatConsole.cpp b/src/guiChatConsole.cpp index 91ed91301..ba73a58e2 100644 --- a/src/guiChatConsole.cpp +++ b/src/guiChatConsole.cpp @@ -204,8 +204,8 @@ void GUIChatConsole::draw() // scale current console height to new window size if (m_screensize.Y != 0) m_height = m_height * screensize.Y / m_screensize.Y; - m_desired_height = m_desired_height_fraction * m_screensize.Y; m_screensize = screensize; + m_desired_height = m_desired_height_fraction * m_screensize.Y; reformatConsole(); } -- 2.25.1