Skip to content

Commit

Permalink
fix filters for add popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Feb 4, 2024
1 parent 024ea7a commit 7b4bda9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/nong_add_popup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void NongAddPopup::createInputs() {
m_songNameInput->ignoreAnchorPointForPosition(true);
m_songNameInput->m_textField->setAnchorPoint({ 0.5f, 0.5f });
m_songNameInput->m_placeholderLabel->setAnchorPoint({ 0.5f, 0.5f });
m_songNameInput->setAllowedChars("qwertyuiopasdfghjklzxcvbnm1234567890(),.-_+");
m_songNameInput->setAllowedChars("qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM 1234567890(),.-_+");
m_songNameInput->setMaxLabelScale(0.7f);
m_songNameInput->setLabelPlaceholderColor(ccc3(108, 153, 216));
m_songNameInput->setMouseEnabled(true);
Expand All @@ -131,7 +131,7 @@ void NongAddPopup::createInputs() {
m_artistNameInput->setID("artist-name-input");
m_artistNameInput->setPosition(centered.width, centered.height - 50.f);
m_artistNameInput->ignoreAnchorPointForPosition(true);
m_artistNameInput->setAllowedChars("qwertyuiopasdfghjklzxcvbnm1234567890(),.-_+");
m_artistNameInput->setAllowedChars("qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM 1234567890(),.-_+");
m_artistNameInput->setMaxLabelScale(0.7f);
m_artistNameInput->m_textField->setAnchorPoint({ 0.5f, 0.5f });
m_artistNameInput->m_placeholderLabel->setAnchorPoint({ 0.5f, 0.5f });
Expand Down

0 comments on commit 7b4bda9

Please sign in to comment.