diff options
author | Ezhh <owlecho@live.com> | 2017-06-21 06:50:57 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-21 07:50:57 +0200 |
commit | 76074ad81abe68aa2b7af4d072b659f60f1af38c (patch) | |
tree | a8dcd70e7806cdbc6a8941f08c9f212289b3f607 /src | |
parent | b8237099b269011f16a8055a61745876768f3f4d (diff) | |
download | minetest-76074ad81abe68aa2b7af4d072b659f60f1af38c.tar.gz minetest-76074ad81abe68aa2b7af4d072b659f60f1af38c.tar.bz2 minetest-76074ad81abe68aa2b7af4d072b659f60f1af38c.zip |
Fix console resize issue when maximising game window (#6023)
Diffstat (limited to 'src')
-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 7e90bf43a..0dbddf31c 100644 --- a/src/guiChatConsole.cpp +++ b/src/guiChatConsole.cpp @@ -186,8 +186,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(); } |