Sdk/Console: Fix SetCharacterSize not changing size of history and input
Former-commit-id: 1aed585ee4d4f0e5eb16edc1a50467893b4e7ede
This commit is contained in:
parent
812e7a940c
commit
621e0d123c
|
|
@ -168,6 +168,12 @@ namespace Ndk
|
||||||
void Console::SetCharacterSize(unsigned int size)
|
void Console::SetCharacterSize(unsigned int size)
|
||||||
{
|
{
|
||||||
m_characterSize = 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();
|
Layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue