diff --git a/osu.Game/Graphics/UserInterface/Bar.cs b/osu.Game/Graphics/UserInterface/Bar.cs index 2320e48de8..555d366f98 100644 --- a/osu.Game/Graphics/UserInterface/Bar.cs +++ b/osu.Game/Graphics/UserInterface/Bar.cs @@ -10,7 +10,7 @@ namespace osu.Game.Graphics.UserInterface { - public class Bar : Container + public class Bar : Container, IHasAccentColour { private Box background; private readonly Box bar; @@ -51,7 +51,7 @@ public Color4 BackgroundColour } } - public Color4 BarColour + public Color4 AccentColour { get { diff --git a/osu.Game/Screens/Select/BeatmapDetails.cs b/osu.Game/Screens/Select/BeatmapDetails.cs index 6be42a7759..f1daf4eeb9 100644 --- a/osu.Game/Screens/Select/BeatmapDetails.cs +++ b/osu.Game/Screens/Select/BeatmapDetails.cs @@ -355,7 +355,7 @@ private void load(OsuColour colour) stars.AccentColour = colour.Yellow; ratingsBar.BackgroundColour = colour.Green; - ratingsBar.BarColour = colour.YellowDark; + ratingsBar.AccentColour = colour.YellowDark; ratingsGraph.Colour = colour.BlueDark; failGraph.Colour = colour.YellowDarker; @@ -415,11 +415,11 @@ public Color4 AccentColour { get { - return bar.BarColour; + return bar.AccentColour; } set { - bar.BarColour = value; + bar.AccentColour = value; } }