Skip to content

Commit 3181062

Browse files
Zeno-nerzhul
authored andcommittedJun 20, 2017
Fix console not being properly resized after window size changed (#6020)
1 parent 0fcaf9f commit 3181062

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/guiChatConsole.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ void GUIChatConsole::reformatConsole()
213213
s32 rows = m_desired_height / m_fontsize.Y - 1; // make room for the input prompt
214214
if (cols <= 0 || rows <= 0)
215215
cols = rows = 0;
216+
recalculateConsolePosition();
216217
m_chat_backend->reformat(cols, rows);
217218
}
218219

0 commit comments

Comments
 (0)
Please sign in to comment.