Sdk/Console: Remove debug error

Former-commit-id: e61d02701914ef72992f4215101932034c9e1955 [formerly 574b436182acaea0150fae9354eda683806448e0] [formerly 58cb547714a8ab0c091b54d44f83213b20d66368 [formerly 87cdc49740f693b1b66c1944080da56b055c6824]]
Former-commit-id: bf8fd50e5d191795955b4b837120858abaeedacb [formerly 6c9e6c8c650bf2c2495d7f35d51f5c1252fd4113]
Former-commit-id: d6291244b05c46535c79b42a41dc22031824876f
This commit is contained in:
Lynix 2016-08-23 18:25:10 +02:00
parent 62b53933c1
commit 6a9b220f9c
1 changed files with 0 additions and 6 deletions

View File

@ -320,9 +320,7 @@ namespace Ndk
unsigned int lineHeight = m_defaultFont->GetSizeInfo(m_characterSize).lineHeight; unsigned int lineHeight = m_defaultFont->GetSizeInfo(m_characterSize).lineHeight;
Ndk::NodeComponent& inputNode = m_input->GetComponent<Ndk::NodeComponent>(); Ndk::NodeComponent& inputNode = m_input->GetComponent<Ndk::NodeComponent>();
NazaraError(inputNode.GetPosition().ToString());
inputNode.SetPosition(0.f, m_size.y - lineHeight - 5.f); inputNode.SetPosition(0.f, m_size.y - lineHeight - 5.f);
NazaraError(inputNode.GetPosition().ToString());
float historyHeight = m_size.y - lineHeight - 5.f - 2.f; float historyHeight = m_size.y - lineHeight - 5.f - 2.f;
m_historyBackgroundSprite->SetSize(m_size.x, historyHeight); m_historyBackgroundSprite->SetSize(m_size.x, historyHeight);
@ -330,14 +328,10 @@ namespace Ndk
m_maxHistoryLines = static_cast<unsigned int>(std::ceil(historyHeight / lineHeight)); m_maxHistoryLines = static_cast<unsigned int>(std::ceil(historyHeight / lineHeight));
Ndk::NodeComponent& historyNode = m_history->GetComponent<Ndk::NodeComponent>(); Ndk::NodeComponent& historyNode = m_history->GetComponent<Ndk::NodeComponent>();
NazaraError(historyNode.GetPosition().ToString());
historyNode.SetPosition(0.f, historyHeight - m_maxHistoryLines * lineHeight); historyNode.SetPosition(0.f, historyHeight - m_maxHistoryLines * lineHeight);
NazaraError(historyNode.GetPosition().ToString());
Ndk::NodeComponent& inputBackgroundNode = m_inputBackground->GetComponent<Ndk::NodeComponent>(); Ndk::NodeComponent& inputBackgroundNode = m_inputBackground->GetComponent<Ndk::NodeComponent>();
NazaraError(inputBackgroundNode.GetPosition().ToString());
inputBackgroundNode.SetPosition(0.f, historyHeight + 2.f); inputBackgroundNode.SetPosition(0.f, historyHeight + 2.f);
NazaraError(inputBackgroundNode.GetPosition().ToString());
m_inputBackgroundSprite->SetSize(m_size.x, m_size.y - historyHeight); m_inputBackgroundSprite->SetSize(m_size.x, m_size.y - historyHeight);
} }