diff --git a/src/features/RGBColorInput/RGBColorInput.cpp b/src/features/RGBColorInput/RGBColorInput.cpp index 1265126c..49f989f9 100644 --- a/src/features/RGBColorInput/RGBColorInput.cpp +++ b/src/features/RGBColorInput/RGBColorInput.cpp @@ -1,5 +1,3 @@ -#ifdef GEODE_IS_WINDOWS - #include #include #include @@ -104,15 +102,14 @@ class $modify(SetupPulsePopup) { } } - void updatePulseMode() { - SetupPulsePopup::updatePulseMode(); + void onSelectPulseMode(CCObject* sender) { + SetupPulsePopup::onSelectPulseMode(sender); if (!Mod::get()->getSettingValue("rgb-color-input")) { return; } if (m_fields->rgbWidget) { m_fields->rgbWidget->setVisible(m_pulseMode == 0); + m_fields->rgbWidget->updateLabels(true, true); } } }; - -#endif \ No newline at end of file