From 621e0d123c1fe4dedf7eb0d28b5831020c3ff89c Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 1 Apr 2016 22:25:59 +0200 Subject: [PATCH] Sdk/Console: Fix SetCharacterSize not changing size of history and input Former-commit-id: 1aed585ee4d4f0e5eb16edc1a50467893b4e7ede --- SDK/src/NDK/Console.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SDK/src/NDK/Console.cpp b/SDK/src/NDK/Console.cpp index ae6461b83..31586d346 100644 --- a/SDK/src/NDK/Console.cpp +++ b/SDK/src/NDK/Console.cpp @@ -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(); }