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:
cfa6216
)
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
SmallJoker
<mk939@ymail.com>
Sun, 3 Jun 2018 15:31:59 +0000
(17:31 +0200)
src/guiChatConsole.cpp
patch
|
blob
|
history
diff --git
a/src/guiChatConsole.cpp
b/src/guiChatConsole.cpp
index 91ed913015f991db3b250ed5f76938de2f4c774b..ba73a58e2faceade0df53b6a48d7b83af860fe2f 100644
(file)
--- 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();
}