mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Changes in line with framework
This commit is contained in:
parent
b98346c79f
commit
41398f57d6
@ -18,8 +18,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
public class OsuMenu : Menu
|
||||
{
|
||||
public OsuMenu(Direction direction)
|
||||
: base(direction)
|
||||
public OsuMenu(Direction direction, bool topLevelMenu = false)
|
||||
: base(direction, topLevelMenu)
|
||||
{
|
||||
BackgroundColour = Color4.Black.Opacity(0.5f);
|
||||
|
||||
|
@ -17,11 +17,8 @@ namespace osu.Game.Screens.Edit.Menus
|
||||
public class EditorMenuBar : OsuMenu
|
||||
{
|
||||
public EditorMenuBar()
|
||||
: base(Direction.Horizontal)
|
||||
: base(Direction.Horizontal, true)
|
||||
{
|
||||
AlwaysOpen = true;
|
||||
RequireClickToOpen = true;
|
||||
|
||||
ItemsContainer.Padding = new MarginPadding(0);
|
||||
BackgroundColour = Color4.Transparent;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user