diff --git a/osu.Game.Rulesets.Karaoke/Edit/Lyrics/Rows/Components/EditorLyricPiece.cs b/osu.Game.Rulesets.Karaoke/Edit/Lyrics/Rows/Components/EditorLyricPiece.cs index 5501347b2..e0335e11d 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Lyrics/Rows/Components/EditorLyricPiece.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Lyrics/Rows/Components/EditorLyricPiece.cs @@ -160,6 +160,8 @@ static FontUsage getFont(float? charSize = null) }, true); } + public override bool RemoveCompletedTransforms => false; + public class EditorLyricSpriteText : LyricSpriteText { public RectangleF GetRubyTagPosition(RubyTag rubyTag) diff --git a/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableLyric.cs b/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableLyric.cs index 31cea3c8f..042575be6 100644 --- a/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableLyric.cs +++ b/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableLyric.cs @@ -15,6 +15,7 @@ using osu.Game.Rulesets.Karaoke.Scoring; using osu.Game.Rulesets.Karaoke.Skinning.Default; using osu.Game.Rulesets.Karaoke.Skinning.Elements; +using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Skinning; using osuTK; @@ -220,15 +221,19 @@ protected override void CheckForResult(bool userTriggered, double timeOffset) } } - protected override void UpdateStartTimeStateTransforms() + protected override void UpdateInitialTransforms() { - base.UpdateStartTimeStateTransforms(); + base.UpdateInitialTransforms(); - using (BeginDelayedSequence(HitObject.Duration)) - { - const float fade_out_time = 500; - this.FadeOut(fade_out_time); - } + lyricPieces.ForEach(x => x.RefreshStateTransforms()); + } + + protected override void UpdateHitStateTransforms(ArmedState state) + { + base.UpdateHitStateTransforms(state); + + const float fade_out_time = 500; + this.FadeOut(fade_out_time); } public void ApplyToLyricPieces(Action action) diff --git a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj index d76249eae..fd11a5356 100644 --- a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj +++ b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj @@ -10,7 +10,7 @@ - +