mirror of
https://github.com/osukey/osukey.git
synced 2025-06-09 21:37:59 +09: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 class OsuMenu : Menu
|
||||||
{
|
{
|
||||||
public OsuMenu(Direction direction)
|
public OsuMenu(Direction direction, bool topLevelMenu = false)
|
||||||
: base(direction)
|
: base(direction, topLevelMenu)
|
||||||
{
|
{
|
||||||
BackgroundColour = Color4.Black.Opacity(0.5f);
|
BackgroundColour = Color4.Black.Opacity(0.5f);
|
||||||
|
|
||||||
|
@ -17,11 +17,8 @@ namespace osu.Game.Screens.Edit.Menus
|
|||||||
public class EditorMenuBar : OsuMenu
|
public class EditorMenuBar : OsuMenu
|
||||||
{
|
{
|
||||||
public EditorMenuBar()
|
public EditorMenuBar()
|
||||||
: base(Direction.Horizontal)
|
: base(Direction.Horizontal, true)
|
||||||
{
|
{
|
||||||
AlwaysOpen = true;
|
|
||||||
RequireClickToOpen = true;
|
|
||||||
|
|
||||||
ItemsContainer.Padding = new MarginPadding(0);
|
ItemsContainer.Padding = new MarginPadding(0);
|
||||||
BackgroundColour = Color4.Transparent;
|
BackgroundColour = Color4.Transparent;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user