mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Changes in line with framework changes
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Framework.Extensions.Color4Extensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
@ -28,16 +26,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
this.ResizeHeightTo(State == MenuState.Opened ? actualHeight : 0, 300, Easing.OutQuint);
|
||||
}
|
||||
|
||||
protected override FlowContainer<MenuItemRepresentation> CreateItemsFlow()
|
||||
{
|
||||
var flow = base.CreateItemsFlow();
|
||||
flow.Padding = new MarginPadding(5);
|
||||
|
||||
return flow;
|
||||
}
|
||||
}
|
||||
|
||||
public class OsuMenu : OsuMenu<MenuItem>
|
||||
{
|
||||
protected override MarginPadding ItemFlowContainerPadding => new MarginPadding(5);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user