Sdk/Console: Fix SetCharacterSize not changing size of history and input

Former-commit-id: 1aed585ee4d4f0e5eb16edc1a50467893b4e7ede
This commit is contained in:
Lynix 2016-04-01 22:25:59 +02:00
parent 812e7a940c
commit 621e0d123c
1 changed files with 6 additions and 0 deletions

View File

@ -168,6 +168,12 @@ namespace Ndk
void Console::SetCharacterSize(unsigned int size)
{
m_characterSize = size;
m_historyDrawer.SetCharacterSize(m_characterSize);
m_historyTextSprite->Update(m_historyDrawer);
m_inputDrawer.SetCharacterSize(m_characterSize);
m_inputTextSprite->Update(m_inputDrawer);
Layout();
}