1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00

Bar uses AccentColour aswell

This commit is contained in:
Jorolf 2017-04-08 13:53:11 +02:00
parent 5e56e84c4a
commit f7a9a11ae5
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ using System;
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 @@ namespace osu.Game.Graphics.UserInterface
}
}
public Color4 BarColour
public Color4 AccentColour
{
get
{

View File

@ -355,7 +355,7 @@ namespace osu.Game.Screens.Select
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 @@ namespace osu.Game.Screens.Select
{
get
{
return bar.BarColour;
return bar.AccentColour;
}
set
{
bar.BarColour = value;
bar.AccentColour = value;
}
}