diff --git a/osu.Game.Rulesets.Karaoke.Tests/Skinning/TestSceneLyric.cs b/osu.Game.Rulesets.Karaoke.Tests/Skinning/TestSceneLyric.cs index ade6b948d..9b92b851c 100644 --- a/osu.Game.Rulesets.Karaoke.Tests/Skinning/TestSceneLyric.cs +++ b/osu.Game.Rulesets.Karaoke.Tests/Skinning/TestSceneLyric.cs @@ -10,9 +10,11 @@ using osu.Framework.Graphics.Sprites; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; +using osu.Game.Rulesets.Karaoke.Beatmaps.Stages.Preview; using osu.Game.Rulesets.Karaoke.Configuration; using osu.Game.Rulesets.Karaoke.Objects; using osu.Game.Rulesets.Karaoke.Objects.Drawables; +using osu.Game.Rulesets.Karaoke.Objects.Stages.Preview; using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Karaoke.Tests.Skinning; @@ -83,6 +85,18 @@ private Drawable testSingle(double timeOffset = 0) Text = "ke" } }, + EffectApplier = new LyricPreviewStageEffectApplier(new[] + { + new PreviewLyricLayout(1) + { + StartTime = startTime, + EndTime = startTime + duration, + Timings = new Dictionary + { + { 0, startTime } + } + } + }, new PreviewStageDefinition()) }; lyric.Translates.Add(cultureInfo, "karaoke");