From 2d316da361bf32deb79c3fc98a70eaece0e21661 Mon Sep 17 00:00:00 2001 From: Justin <52604018+hiimjustin000@users.noreply.github.com> Date: Wed, 31 Jul 2024 17:14:21 -0400 Subject: [PATCH 1/2] Update FiltersPopup.cpp --- loader/src/ui/mods/popups/FiltersPopup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/src/ui/mods/popups/FiltersPopup.cpp b/loader/src/ui/mods/popups/FiltersPopup.cpp index bd4ebe4c..5ffecc63 100644 --- a/loader/src/ui/mods/popups/FiltersPopup.cpp +++ b/loader/src/ui/mods/popups/FiltersPopup.cpp @@ -103,6 +103,7 @@ bool FiltersPopup::setup(ModListSource* src) { m_developerNameInput = TextInput::create(inputContainer->getContentWidth(), "Developer Name"); m_developerNameInput->setTextAlign(TextInputAlign::Left); + m_developerNameInput->setFilter("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789- "); m_developerNameInput->setString(src->getQuery().developer.value_or("")); inputContainer->addChildAtPosition(m_developerNameInput, Anchor::Center); From 4bd137d97ef594993cb714f923e4052e6049b668 Mon Sep 17 00:00:00 2001 From: Justin <52604018+hiimjustin000@users.noreply.github.com> Date: Wed, 31 Jul 2024 17:17:16 -0400 Subject: [PATCH 2/2] remove space --- loader/src/ui/mods/popups/FiltersPopup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/ui/mods/popups/FiltersPopup.cpp b/loader/src/ui/mods/popups/FiltersPopup.cpp index 5ffecc63..aa4c7525 100644 --- a/loader/src/ui/mods/popups/FiltersPopup.cpp +++ b/loader/src/ui/mods/popups/FiltersPopup.cpp @@ -103,7 +103,7 @@ bool FiltersPopup::setup(ModListSource* src) { m_developerNameInput = TextInput::create(inputContainer->getContentWidth(), "Developer Name"); m_developerNameInput->setTextAlign(TextInputAlign::Left); - m_developerNameInput->setFilter("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789- "); + m_developerNameInput->setFilter("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-"); m_developerNameInput->setString(src->getQuery().developer.value_or("")); inputContainer->addChildAtPosition(m_developerNameInput, Anchor::Center);