From c180ff5fca4d41e4f3c093bddd1b0a3b55a04c9c Mon Sep 17 00:00:00 2001 From: Derrick Timmermans Date: Sun, 14 Apr 2024 15:32:42 +0200 Subject: [PATCH] Fix non-snaking fan slides --- .../Objects/Drawables/Pieces/Slides/SlideChevron.cs | 6 ------ .../Objects/Drawables/Pieces/Slides/SlideVisual.cs | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/osu.Game.Rulesets.Sentakki/Objects/Drawables/Pieces/Slides/SlideChevron.cs b/osu.Game.Rulesets.Sentakki/Objects/Drawables/Pieces/Slides/SlideChevron.cs index fff065711..fab4b15c6 100644 --- a/osu.Game.Rulesets.Sentakki/Objects/Drawables/Pieces/Slides/SlideChevron.cs +++ b/osu.Game.Rulesets.Sentakki/Objects/Drawables/Pieces/Slides/SlideChevron.cs @@ -27,11 +27,5 @@ private void load(TextureStore textures) Texture = textures.Get("slide"), }); } - - protected override void FreeAfterUse() - { - base.FreeAfterUse(); - ClearTransforms(); - } } } diff --git a/osu.Game.Rulesets.Sentakki/Objects/Drawables/Pieces/Slides/SlideVisual.cs b/osu.Game.Rulesets.Sentakki/Objects/Drawables/Pieces/Slides/SlideVisual.cs index ae10abcd9..42a9ca24e 100644 --- a/osu.Game.Rulesets.Sentakki/Objects/Drawables/Pieces/Slides/SlideVisual.cs +++ b/osu.Game.Rulesets.Sentakki/Objects/Drawables/Pieces/Slides/SlideVisual.cs @@ -194,7 +194,7 @@ public void PerformExitAnimation(double duration) if (((ISlideChevron)chevron).DisappearThreshold <= Progress) { - chevron.FadeOut(); + chevron.Alpha = 0; continue; }