Fix cross-talk between pooled `DrawableSliderRepeat` usage causing incorrect rotation

This commit is contained in:
Dean Herbert 2024-03-08 11:37:13 +08:00
parent 6323189cfb
commit fcc35a6acc
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ protected override void OnApply()
base.OnApply(); base.OnApply();
Position = HitObject.Position - DrawableSlider.Position; Position = HitObject.Position - DrawableSlider.Position;
hasRotation = false;
} }
protected override void CheckForResult(bool userTriggered, double timeOffset) => DrawableSlider.SliderInputManager.TryJudgeNestedObject(this, timeOffset); protected override void CheckForResult(bool userTriggered, double timeOffset) => DrawableSlider.SliderInputManager.TryJudgeNestedObject(this, timeOffset);