1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 22:27:25 +08:00

Add EditorMenuBarItem colours.

This commit is contained in:
smoogipooo 2017-08-24 17:43:56 +09:00
parent 26a4238a38
commit a863eb2a2f

View File

@ -31,7 +31,7 @@ namespace osu.Desktop.Tests.Visual
{
new EditorMenuBarItem("File")
{
Items = new OsuContextMenuItem[]
Items = new[]
{
new EditorContextMenuItem("Clear All Notes"),
new EditorContextMenuItem("Open Difficulty..."),
@ -179,6 +179,13 @@ namespace osu.Desktop.Tests.Visual
: base(title.PadRight(min_text_length), type)
{
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
BackgroundColour = colours.Gray3;
BackgroundColourHover = colours.Gray2;
}
}
}
}