From 2403ad996681e0598ef7f569d5f53f0a90296ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=82=BA=E4=BB=80=E9=BA=BC?= Date: Sat, 13 Nov 2021 10:41:11 +0800 Subject: [PATCH 1/2] update package and fix compile error. --- .../Editor/TestSceneSetupScreen.cs | 4 ++++ osu.Game.Rulesets.Karaoke/Statistics/BeatmapMetadataGraph.cs | 2 +- osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/osu.Game.Rulesets.Karaoke.Tests/Editor/TestSceneSetupScreen.cs b/osu.Game.Rulesets.Karaoke.Tests/Editor/TestSceneSetupScreen.cs index 1d4dac373..8ccbf7dc0 100644 --- a/osu.Game.Rulesets.Karaoke.Tests/Editor/TestSceneSetupScreen.cs +++ b/osu.Game.Rulesets.Karaoke.Tests/Editor/TestSceneSetupScreen.cs @@ -4,6 +4,7 @@ using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics.Containers; +using osu.Game.Overlays; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Karaoke.Beatmaps; using osu.Game.Screens.Edit; @@ -19,6 +20,9 @@ public class TestSceneSetupScreen : EditorClockTestScene [Cached(typeof(IBeatSnapProvider))] private readonly EditorBeatmap editorBeatmap; + [Cached] + private readonly OverlayColourProvider colourProvider = new(OverlayColourScheme.Blue); + public TestSceneSetupScreen() { editorBeatmap = new EditorBeatmap(new KaraokeBeatmap()); diff --git a/osu.Game.Rulesets.Karaoke/Statistics/BeatmapMetadataGraph.cs b/osu.Game.Rulesets.Karaoke/Statistics/BeatmapMetadataGraph.cs index 8ee25f970..5ae7569e0 100644 --- a/osu.Game.Rulesets.Karaoke/Statistics/BeatmapMetadataGraph.cs +++ b/osu.Game.Rulesets.Karaoke/Statistics/BeatmapMetadataGraph.cs @@ -55,7 +55,7 @@ public BeatmapMetadataGraph(IBeatmap beatmap) { new TextMetadataSection("Description") { - Text = beatmapInfo?.Version + Text = beatmapInfo?.DifficultyName }, new TextMetadataSection("Source") { diff --git a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj index a477fe5ac..9d1338708 100644 --- a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj +++ b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj @@ -12,7 +12,7 @@ - + From b23883f3d23a02347af8c42d43262d84bf2c074f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=82=BA=E4=BB=80=E9=BA=BC?= Date: Sat, 13 Nov 2021 10:54:17 +0800 Subject: [PATCH 2/2] update font package. --- osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj index 9d1338708..587a2704d 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 @@ - +