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:
0fcaf9f
)
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
Loïc Blot
<nerzhul@users.noreply.github.com>
Tue, 20 Jun 2017 10:36:58 +0000
(12:36 +0200)
src/guiChatConsole.cpp
patch
|
blob
|
history
diff --git
a/src/guiChatConsole.cpp
b/src/guiChatConsole.cpp
index f8c3ed4c111ec2fdf33555fcd262d993889720eb..ecd280f5e406bb7deda765f26da161b963605bee 100644
(file)
--- a/
src/guiChatConsole.cpp
+++ b/
src/guiChatConsole.cpp
@@
-213,6
+213,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);
}