mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
Expose BoxColour property
This commit is contained in:
parent
144d41f143
commit
fc521ac93b
@ -32,6 +32,12 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
protected readonly SpriteText Text;
|
||||
|
||||
protected Color4 BoxColour
|
||||
{
|
||||
get => box.Colour;
|
||||
set => box.Colour = value;
|
||||
}
|
||||
|
||||
public PageTabItem(T value)
|
||||
: base(value)
|
||||
{
|
||||
@ -66,7 +72,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
box.Colour = colours.Yellow;
|
||||
BoxColour = colours.Yellow;
|
||||
}
|
||||
|
||||
protected override bool OnHover(HoverEvent e)
|
||||
|
Loading…
Reference in New Issue
Block a user