From 2e517a2e43099db726313bf2e34ffa3f56f6cefc Mon Sep 17 00:00:00 2001 From: andy840119 Date: Sat, 28 Nov 2020 23:44:44 +0900 Subject: [PATCH] update nuget package and fix compile error. --- .../Ranking/TestSceneResultsScreen.cs | 2 +- .../Objects/Drawables/DrawableLyric.cs | 8 ++++---- .../osu.Game.Rulesets.Karaoke.csproj | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/osu.Game.Rulesets.Karaoke.Tests/Ranking/TestSceneResultsScreen.cs b/osu.Game.Rulesets.Karaoke.Tests/Ranking/TestSceneResultsScreen.cs index 633d8ee6f..c95b90fab 100644 --- a/osu.Game.Rulesets.Karaoke.Tests/Ranking/TestSceneResultsScreen.cs +++ b/osu.Game.Rulesets.Karaoke.Tests/Ranking/TestSceneResultsScreen.cs @@ -83,7 +83,7 @@ public TestResultsContainer(IScreen screen) private class TestResultsScreen : ResultsScreen { public TestResultsScreen(ScoreInfo score) - : base(score) + : base(score, true) { } diff --git a/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableLyric.cs b/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableLyric.cs index c40fc0ea5..80f5b42c7 100644 --- a/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableLyric.cs +++ b/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableLyric.cs @@ -80,9 +80,9 @@ private void load() TranslateTextBindable.BindValueChanged(text => { translateText.Text = text.NewValue ?? ""; }); } - protected override void OnApply(HitObject hitObject) + protected override void OnApply() { - base.OnApply(hitObject); + base.OnApply(); TextBindable.BindTo(HitObject.TextBindable); TimeTagsBindable.BindTo(HitObject.TimeTagsBindable); @@ -93,9 +93,9 @@ protected override void OnApply(HitObject hitObject) TranslateTextBindable.BindTo(HitObject.TranslateTextBindable); } - protected override void OnFree(HitObject hitObject) + protected override void OnFree() { - base.OnFree(hitObject); + base.OnFree(); TextBindable.UnbindFrom(HitObject.TextBindable); TimeTagsBindable.UnbindFrom(HitObject.TimeTagsBindable); diff --git a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj index 592208de1..199ce8ba3 100644 --- a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj +++ b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj @@ -15,7 +15,7 @@ - +