diff --git a/osu.Game.Rulesets.Karaoke/Overlays/Changelog/ChangelogHeader.cs b/osu.Game.Rulesets.Karaoke/Overlays/Changelog/ChangelogHeader.cs index d7ad2834d..724cedd06 100644 --- a/osu.Game.Rulesets.Karaoke/Overlays/Changelog/ChangelogHeader.cs +++ b/osu.Game.Rulesets.Karaoke/Overlays/Changelog/ChangelogHeader.cs @@ -53,7 +53,7 @@ private class ChangelogHeaderTitle : OverlayTitle public ChangelogHeaderTitle() { Title = "changelog"; - IconTexture = "Icons/changelog"; + IconTexture = "Icons/Hexacons/devtools"; } } } diff --git a/osu.Game.Rulesets.Karaoke/Overlays/KaraokeChangelogOverlay.cs b/osu.Game.Rulesets.Karaoke/Overlays/KaraokeChangelogOverlay.cs index 698c4a515..fdf5aa66d 100644 --- a/osu.Game.Rulesets.Karaoke/Overlays/KaraokeChangelogOverlay.cs +++ b/osu.Game.Rulesets.Karaoke/Overlays/KaraokeChangelogOverlay.cs @@ -24,12 +24,10 @@ namespace osu.Game.Rulesets.Karaoke.Overlays { - public class KaraokeChangelogOverlay : FullscreenOverlay + public class KaraokeChangelogOverlay : FullscreenOverlay { public readonly Bindable Current = new Bindable(); - protected ChangelogHeader Header; - private Container content; private SampleChannel sampleBack; @@ -42,7 +40,7 @@ public class KaraokeChangelogOverlay : FullscreenOverlay private string projectName => $"{organizationName}.github.io"; public KaraokeChangelogOverlay(string organization, string branch = "master") - : base(OverlayColourScheme.Purple) + : base(OverlayColourScheme.Purple, new ChangelogHeader()) { organizationName = organization; branchName = branch; @@ -69,10 +67,10 @@ private void load(AudioManager audio) Direction = FillDirection.Vertical, Children = new Drawable[] { - Header = new ChangelogHeader + Header.With(h => { - ListingSelected = ShowListing, - }, + h.ListingSelected = ShowListing; + }), content = new Container { RelativeSizeAxes = Axes.X, diff --git a/osu.Game.Rulesets.Karaoke/UI/LyricPlayfield.cs b/osu.Game.Rulesets.Karaoke/UI/LyricPlayfield.cs index abb703742..334caf839 100644 --- a/osu.Game.Rulesets.Karaoke/UI/LyricPlayfield.cs +++ b/osu.Game.Rulesets.Karaoke/UI/LyricPlayfield.cs @@ -29,7 +29,7 @@ public class LyricPlayfield : Playfield public new IEnumerable AllHitObjects => base.AllHitObjects.OfType(); - protected IWorkingBeatmap WorkingBeatmap => beatmap.Value; + protected WorkingBeatmap WorkingBeatmap => beatmap.Value; private readonly BindableBool translate = new BindableBool(); private readonly Bindable translateLanguage = new Bindable(); diff --git a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj index d2f64ea3c..7ab2d3564 100644 --- a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj +++ b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj @@ -13,7 +13,7 @@ - +