Skip to content

Commit

Permalink
SmoothWraparoundMode
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Mar 18, 2024
1 parent 2e0bfcf commit 80ac2bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modes/color_change_modes.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ struct SteppedVariationMode : public SPEC::SteppedMode {
};

template<class SPEC>
struct SmoothVariationMode : public SPEC::SmoothMode {
struct SmoothVariationMode : public SPEC::SmoothWraparoundMode {
void mode_activate(bool onreturn) override {
saved_ = get();
SPEC::SmoothMode::mode_activate(onreturn);
SPEC::SmoothWraparoundMode::mode_activate(onreturn);
SaberBase::SetColorChangeMode(SaberBase::COLOR_CHANGE_MODE_SMOOTH);
}
void exit() override {
Expand Down Expand Up @@ -82,7 +82,7 @@ template<class SPEC>
struct ColorChangeOnlyMenuSpec {
typedef mode::SelectCancelMode SelectCancelMode;
typedef mode::SteppedMode<SPEC> SteppedMode;
typedef mode::SmoothMode<SPEC> SmoothMode;
typedef mode::SmoothWraparoundMode<SPEC> SmoothWraparoundMode;
typedef mode::SmoothVariationMode<SPEC> SmoothVariationMode;
typedef mode::SteppedVariationMode<SPEC> SteppedVariationMode;
typedef mode::ColorChangeMode<SPEC> RootMenu;
Expand Down

0 comments on commit 80ac2bb

Please sign in to comment.