Sdk/Console: Remove debug error

Former-commit-id: d1ea434fd474fc66e7c7b751d656c88f7d782ddc [formerly 1c7a1aff7717bdd946cbd3b48d0ed6b7d2f326e3] [formerly c6877dcd98758602be9d2378cec991bb0e2e91c5 [formerly d114ffd6832788fecd0f167c11e8796b7cb2bf3a]]
Former-commit-id: 1c163946a75f63bcf71acb39dda8674c82508a94 [formerly d8dd26e5087771e7d83ab97d6075594236c501f1]
Former-commit-id: 30aa3c22d308ce012631f5c58d03f4843702a4f3
This commit is contained in:
Lynix 2016-08-23 18:25:10 +02:00
parent 2a0fb4ffdc
commit de274b632d
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;
Ndk::NodeComponent& inputNode = m_input->GetComponent<Ndk::NodeComponent>();
NazaraError(inputNode.GetPosition().ToString());
inputNode.SetPosition(0.f, m_size.y - lineHeight - 5.f);
NazaraError(inputNode.GetPosition().ToString());
float historyHeight = m_size.y - lineHeight - 5.f - 2.f;
m_historyBackgroundSprite->SetSize(m_size.x, historyHeight);
@ -330,14 +328,10 @@ namespace Ndk
m_maxHistoryLines = static_cast<unsigned int>(std::ceil(historyHeight / lineHeight));
Ndk::NodeComponent& historyNode = m_history->GetComponent<Ndk::NodeComponent>();
NazaraError(historyNode.GetPosition().ToString());
historyNode.SetPosition(0.f, historyHeight - m_maxHistoryLines * lineHeight);
NazaraError(historyNode.GetPosition().ToString());
Ndk::NodeComponent& inputBackgroundNode = m_inputBackground->GetComponent<Ndk::NodeComponent>();
NazaraError(inputBackgroundNode.GetPosition().ToString());
inputBackgroundNode.SetPosition(0.f, historyHeight + 2.f);
NazaraError(inputBackgroundNode.GetPosition().ToString());
m_inputBackgroundSprite->SetSize(m_size.x, m_size.y - historyHeight);
}