projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b823709
)
Fix console resize issue when maximising game window (#6023)
author
Ezhh
<owlecho@live.com>
Wed, 21 Jun 2017 05:50:57 +0000
(06:50 +0100)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Wed, 21 Jun 2017 05:50:57 +0000
(07:50 +0200)
src/guiChatConsole.cpp
patch
|
blob
|
history
diff --git
a/src/guiChatConsole.cpp
b/src/guiChatConsole.cpp
index 7e90bf43a123290513bcaf8618fe04df35f35adc..0dbddf31cd530b097d4bbd85d7ebbca58ab8347b 100644
(file)
--- 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();
}