mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Fix crappy resizing.
This commit is contained in:
Submodule osu-framework updated: 2f0674792a...56ce220e7f
@ -25,7 +25,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
protected override void UpdateMenuHeight()
|
protected override void UpdateMenuHeight()
|
||||||
{
|
{
|
||||||
var actualHeight = (RelativeSizeAxes & Axes.Y) > 0 ? 1 : ContentHeight;
|
var actualHeight = (RelativeSizeAxes & Axes.Y) > 0 ? 1 : ContentHeight;
|
||||||
this.ResizeTo(new Vector2(1, State == MenuState.Opened ? actualHeight : 0), 300, Easing.OutQuint);
|
this.ResizeHeightTo(State == MenuState.Opened ? actualHeight : 0, 300, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override FlowContainer<MenuItemRepresentation> CreateItemsFlow()
|
protected override FlowContainer<MenuItemRepresentation> CreateItemsFlow()
|
||||||
|
Reference in New Issue
Block a user