mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 17:13:06 +08:00
Add better easing
This commit is contained in:
parent
c1432b2ed5
commit
2d6d9dd723
@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using osuTK;
|
using osuTK;
|
||||||
@ -116,6 +116,7 @@ namespace osu.Game.Screens.Select
|
|||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
LayoutDuration = transition_duration,
|
LayoutDuration = transition_duration,
|
||||||
|
LayoutEasing = Easing.OutQuad,
|
||||||
Spacing = new Vector2(spacing * 2),
|
Spacing = new Vector2(spacing * 2),
|
||||||
Margin = new MarginPadding { Top = spacing * 2 },
|
Margin = new MarginPadding { Top = spacing * 2 },
|
||||||
Children = new[]
|
Children = new[]
|
||||||
|
Loading…
Reference in New Issue
Block a user