Skip to content

Commit

Permalink
scratch that it should work on mac now
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Oct 19, 2023
1 parent bb3d0fd commit b9e4266
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/features/RGBColorInput/RGBColorInput.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#ifdef GEODE_IS_WINDOWS

#include <Geode/Geode.hpp>
#include <Geode/modify/ColorSelectPopup.hpp>
#include <Geode/modify/SetupPulsePopup.hpp>
Expand Down Expand Up @@ -104,15 +102,14 @@ class $modify(SetupPulsePopup) {
}
}

void updatePulseMode() {
SetupPulsePopup::updatePulseMode();
void onSelectPulseMode(CCObject* sender) {
SetupPulsePopup::onSelectPulseMode(sender);
if (!Mod::get()->getSettingValue<bool>("rgb-color-input")) {
return;
}
if (m_fields->rgbWidget) {
m_fields->rgbWidget->setVisible(m_pulseMode == 0);
m_fields->rgbWidget->updateLabels(true, true);
}
}
};

#endif

0 comments on commit b9e4266

Please sign in to comment.