From 80ac2bbd375cc783ab996c604c11c311f19e3a04 Mon Sep 17 00:00:00 2001 From: profezzorn Date: Sun, 17 Mar 2024 20:46:41 -0700 Subject: [PATCH] SmoothWraparoundMode --- modes/color_change_modes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modes/color_change_modes.h b/modes/color_change_modes.h index fc9abd326..308181e47 100644 --- a/modes/color_change_modes.h +++ b/modes/color_change_modes.h @@ -33,10 +33,10 @@ struct SteppedVariationMode : public SPEC::SteppedMode { }; template -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 { @@ -82,7 +82,7 @@ template struct ColorChangeOnlyMenuSpec { typedef mode::SelectCancelMode SelectCancelMode; typedef mode::SteppedMode SteppedMode; - typedef mode::SmoothMode SmoothMode; + typedef mode::SmoothWraparoundMode SmoothWraparoundMode; typedef mode::SmoothVariationMode SmoothVariationMode; typedef mode::SteppedVariationMode SteppedVariationMode; typedef mode::ColorChangeMode RootMenu;