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:
322e5aa
)
Fix console not being properly resized after window size changed (#6020)
author
Zeno-
<kde.psych@gmail.com>
Tue, 20 Jun 2017 10:36:58 +0000
(20:36 +1000)
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 5bb80bbbe1b8c44931d5d7f2725f310b5bbcf718..91ed913015f991db3b250ed5f76938de2f4c774b 100644
(file)
--- a/
src/guiChatConsole.cpp
+++ b/
src/guiChatConsole.cpp
@@
-231,6
+231,7
@@
void GUIChatConsole::reformatConsole()
s32 rows = m_desired_height / m_fontsize.Y - 1; // make room for the input prompt
if (cols <= 0 || rows <= 0)
cols = rows = 0;
+ recalculateConsolePosition();
m_chat_backend->reformat(cols, rows);
}