From 9c2aa511943c3b89279beb00aa954e1204539d98 Mon Sep 17 00:00:00 2001 From: Henry Lin Date: Thu, 3 Mar 2022 13:07:30 +0800 Subject: [PATCH] Rename `applyPitchAdjustment` to `adjustPitchChanged` --- osu.Game/Rulesets/Mods/ModAdaptiveSpeed.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Rulesets/Mods/ModAdaptiveSpeed.cs b/osu.Game/Rulesets/Mods/ModAdaptiveSpeed.cs index 5a2edfa17d..2e77b7c6fc 100644 --- a/osu.Game/Rulesets/Mods/ModAdaptiveSpeed.cs +++ b/osu.Game/Rulesets/Mods/ModAdaptiveSpeed.cs @@ -87,7 +87,7 @@ namespace osu.Game.Rulesets.Mods SpeedChange.Value = val.NewValue; targetRate = val.NewValue; }); - AdjustPitch.BindValueChanged(applyPitchAdjustment); + AdjustPitch.BindValueChanged(adjustPitchChanged); } public void ApplyToTrack(ITrack track) @@ -112,7 +112,7 @@ namespace osu.Game.Rulesets.Mods public double ApplyToRate(double time, double rate = 1) => rate * InitialRate.Value; - private void applyPitchAdjustment(ValueChangedEvent adjustPitchSetting) + private void adjustPitchChanged(ValueChangedEvent adjustPitchSetting) { track?.RemoveAdjustment(adjustmentForPitchSetting(adjustPitchSetting.OldValue), SpeedChange);