1
0
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:
Dean Herbert 2017-09-07 20:36:32 +09:00
parent b98346c79f
commit 41398f57d6
2 changed files with 3 additions and 6 deletions

View File

@ -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);

View File

@ -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;
}