mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Simplify chevron icon coloring
This commit is contained in:
parent
d4843285db
commit
b1f7a673e7
@ -23,7 +23,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
public Color4 ChevronIconColour
|
||||
{
|
||||
get => chevronIconColour;
|
||||
set => chevronIconColour = leftChevron.AccentColour = rightChevron.AccentColour = value;
|
||||
set => chevronIconColour = leftChevron.Colour = rightChevron.Colour = value;
|
||||
}
|
||||
|
||||
public string Text
|
||||
@ -131,14 +131,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
private const int icon_size = 8;
|
||||
|
||||
private Color4 accentColour;
|
||||
|
||||
public Color4 AccentColour
|
||||
{
|
||||
get => accentColour;
|
||||
set => accentColour = Colour = value;
|
||||
}
|
||||
|
||||
public ChevronIcon()
|
||||
{
|
||||
Anchor = Anchor.Centre;
|
||||
|
Loading…
Reference in New Issue
Block a user