mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 22:47:26 +08:00
Add EditorMenuBarItem colours.
This commit is contained in:
parent
26a4238a38
commit
a863eb2a2f
@ -31,7 +31,7 @@ namespace osu.Desktop.Tests.Visual
|
|||||||
{
|
{
|
||||||
new EditorMenuBarItem("File")
|
new EditorMenuBarItem("File")
|
||||||
{
|
{
|
||||||
Items = new OsuContextMenuItem[]
|
Items = new[]
|
||||||
{
|
{
|
||||||
new EditorContextMenuItem("Clear All Notes"),
|
new EditorContextMenuItem("Clear All Notes"),
|
||||||
new EditorContextMenuItem("Open Difficulty..."),
|
new EditorContextMenuItem("Open Difficulty..."),
|
||||||
@ -179,6 +179,13 @@ namespace osu.Desktop.Tests.Visual
|
|||||||
: base(title.PadRight(min_text_length), type)
|
: base(title.PadRight(min_text_length), type)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[BackgroundDependencyLoader]
|
||||||
|
private void load(OsuColour colours)
|
||||||
|
{
|
||||||
|
BackgroundColour = colours.Gray3;
|
||||||
|
BackgroundColourHover = colours.Gray2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user