Skip to content

Commit 76074ad

Browse files
Ezhhnerzhul
authored andcommittedJun 21, 2017
Fix console resize issue when maximising game window (#6023)
1 parent b823709 commit 76074ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/guiChatConsole.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ void GUIChatConsole::draw()
186186
// scale current console height to new window size
187187
if (m_screensize.Y != 0)
188188
m_height = m_height * screensize.Y / m_screensize.Y;
189-
m_desired_height = m_desired_height_fraction * m_screensize.Y;
190189
m_screensize = screensize;
190+
m_desired_height = m_desired_height_fraction * m_screensize.Y;
191191
reformatConsole();
192192
}
193193

0 commit comments

Comments
 (0)
Please sign in to comment.