@@ -312,7 +312,7 @@ bool PrismUIButton::init(HackItem* hack) {
312312 Themes::RGBAToCC (PrismUI::GetTheme ()[" Button" ], m_input->getBGSprite ());
313313 m_input->setScale (.65f );
314314 m_input->setDelegate (this );
315- Themes::RGBAToCC (PrismUI::GetTheme ()[" Text" ], m_input->getInputNode ()->m_placeholderLabel );
315+ Themes::RGBAToCC (PrismUI::GetTheme ()[" Text" ], m_input->getInputNode ()->m_textLabel );
316316 menu->addChild (m_input);
317317 }
318318 menu->setPosition ({0 ,0 });
@@ -721,7 +721,7 @@ void PrismUI::CreateHackItem(HackItem* hack) {
721721
722722void PrismUIButton::textChanged (CCTextInputNode* input) {
723723 if (!editedInputNode) return ;
724- Themes::RGBAToCC (PrismUI::GetTheme ()[" Text" ], input->m_placeholderLabel );
724+ Themes::RGBAToCC (PrismUI::GetTheme ()[" Text" ], input->m_textLabel );
725725 const auto & obj = m_hack->data ;
726726 auto settings = Mod::get ()->getSavedValue <SettingHackStruct>(" values" );
727727 std::string name = m_hack->name ;
@@ -863,7 +863,7 @@ void PrismUI::fixVSync() {
863863void PrismUIButton::textInputOpened (CCTextInputNode* input) { // basically onIntBtn
864864 if (input->getString ().size () == 0 ) return ;
865865 editedInputNode = true ;
866- Themes::RGBAToCC (PrismUI::GetTheme ()[" Text" ], input->m_placeholderLabel );
866+ Themes::RGBAToCC (PrismUI::GetTheme ()[" Text" ], input->m_textLabel );
867867}
868868
869869
@@ -875,7 +875,7 @@ void PrismUIButton::textInputClosed(CCTextInputNode* input) { // basically onInt
875875 if (input->getString ().size () == 0 ) return ;
876876 editedInputNode = false ;
877877 std::string name = m_hack->name ;
878- Themes::RGBAToCC (PrismUI::GetTheme ()[" Text" ], input->m_placeholderLabel );
878+ Themes::RGBAToCC (PrismUI::GetTheme ()[" Text" ], input->m_textLabel );
879879 if (m_hack->type == " float" ) {
880880 input->setString (Utils::setPrecision (m_hack->value .floatValue , 3 ));
881881 if (name == " Speedhack" ) {
0 commit comments