Sdk/Console: Remove debug error
Former-commit-id: b1b3e3183e7c2d8318d53504b2f9c106ad5deaf0 [formerly f0b80e347ec153fa2b0b65ff52f7057a5513986a] [formerly 551d06d6d1421053ddecafcbebd47853b7c63a00 [formerly c0a1ddc82df5e2954586e43d97a3704a4ac7e1ad]] Former-commit-id: 133fad81f092220d099cb872d7d5a15d74c34fdc [formerly 7deeb4cae2f8c7b8e01215c67e733151e3e3ac80] Former-commit-id: 95b8dfe324277e1892591412ecfe4f5eb51a8c01
This commit is contained in:
parent
7fa2bb7529
commit
7c7364d1dc
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue