diff options
author | Ezhh <owlecho@live.com> | 2017-06-21 06:50:57 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:31:59 +0200 |
commit | 849fe19f8cc89dbe92b24e6020e3a1618a3171e2 (patch) | |
tree | c7d39387ce6758679d4cb6ebe1063445dbf1150e | |
parent | cfa62166944f6d414d1c09756fef226dabcc5056 (diff) | |
download | minetest-849fe19f8cc89dbe92b24e6020e3a1618a3171e2.tar.gz minetest-849fe19f8cc89dbe92b24e6020e3a1618a3171e2.tar.bz2 minetest-849fe19f8cc89dbe92b24e6020e3a1618a3171e2.zip |
Fix console resize issue when maximising game window (#6023)
-rw-r--r-- | src/guiChatConsole.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |