Skip to content
Permalink
Browse files

Fix console resize issue when maximising game window (#6023)

  • Loading branch information...
Ezhh authored and nerzhul committed Jun 21, 2017
1 parent b823709 commit 76074ad81abe68aa2b7af4d072b659f60f1af38c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/guiChatConsole.cpp
@@ -186,8 +186,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();
}

0 comments on commit 76074ad

Please sign in to comment.
You can’t perform that action at this time.