mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:13:21 +08:00
Adjust skin editor pop in/out to be more snappy
This commit is contained in:
parent
26efb8e842
commit
9b6d95b3d6
@ -33,7 +33,7 @@ namespace osu.Game.Overlays.SkinEditor
|
||||
[Cached(typeof(SkinEditor))]
|
||||
public partial class SkinEditor : VisibilityContainer, ICanAcceptFiles, IKeyBindingHandler<PlatformAction>
|
||||
{
|
||||
public const double TRANSITION_DURATION = 500;
|
||||
public const double TRANSITION_DURATION = 300;
|
||||
|
||||
public const float MENU_HEIGHT = 40;
|
||||
|
||||
@ -361,7 +361,6 @@ namespace osu.Game.Overlays.SkinEditor
|
||||
{
|
||||
this
|
||||
// align animation to happen after the majority of the ScalingContainer animation completes.
|
||||
.Delay(ScalingContainer.TRANSITION_DURATION * 0.3f)
|
||||
.FadeIn(TRANSITION_DURATION, Easing.OutQuint);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user