mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
fix inputnode length
This commit is contained in:
parent
c00bd759c7
commit
925e72535d
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ bool InputNode::init(
|
|||
m_input->setLabelPlaceholderColor({ 150, 150, 150 });
|
||||
m_input->setLabelPlaceholderScale(.75f);
|
||||
m_input->setMaxLabelScale(.85f);
|
||||
m_input->setMaxLabelWidth(maxCharCount);
|
||||
m_input->setMaxLabelLength(maxCharCount);
|
||||
m_input->setPosition(width / 2, height / 2);
|
||||
if (filter.length()) {
|
||||
m_input->setAllowedChars(filter);
|
||||
|
|
Loading…
Reference in a new issue