From 61e1780dc7f9f7b0984556d8cedae7128c750340 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Mon, 7 Feb 2022 21:00:42 +0800 Subject: [PATCH] remove the duplicated DI. --- .../Editor/TestSceneKaraokeEditor.cs | 2 -- .../Screens/TestSceneKaraokeSkinEditor.cs | 3 --- 2 files changed, 5 deletions(-) diff --git a/osu.Game.Rulesets.Karaoke.Tests/Editor/TestSceneKaraokeEditor.cs b/osu.Game.Rulesets.Karaoke.Tests/Editor/TestSceneKaraokeEditor.cs index 466425aa1..716c38425 100644 --- a/osu.Game.Rulesets.Karaoke.Tests/Editor/TestSceneKaraokeEditor.cs +++ b/osu.Game.Rulesets.Karaoke.Tests/Editor/TestSceneKaraokeEditor.cs @@ -54,8 +54,6 @@ private void load() Dependencies.Cache(dialogOverlay); Dependencies.Cache(lyricCheckerManager); - - Dependencies.Cache(new EditorClock()); } } } diff --git a/osu.Game.Rulesets.Karaoke.Tests/Screens/TestSceneKaraokeSkinEditor.cs b/osu.Game.Rulesets.Karaoke.Tests/Screens/TestSceneKaraokeSkinEditor.cs index a4efdbb52..32266f56a 100644 --- a/osu.Game.Rulesets.Karaoke.Tests/Screens/TestSceneKaraokeSkinEditor.cs +++ b/osu.Game.Rulesets.Karaoke.Tests/Screens/TestSceneKaraokeSkinEditor.cs @@ -28,9 +28,6 @@ public class TestSceneKaraokeSkinEditor : ScreenTestScene [BackgroundDependencyLoader] private void load(SkinManager skinManager) { - // todo: karaoke skin editor might not need editor clock eventually? - Dependencies.Cache(new EditorClock()); - skinManager.CurrentSkinInfo.Value = DefaultKaraokeSkin.CreateInfo().ToLiveUnmanaged(); karaokeSkin = skinManager.CurrentSkin.Value as KaraokeSkin;