mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Adjust toolbar fade in/out on toggle
This commit is contained in:
@ -139,7 +139,7 @@ namespace osu.Game.Overlays.Toolbar
|
|||||||
protected override void PopIn()
|
protected override void PopIn()
|
||||||
{
|
{
|
||||||
this.MoveToY(0, transition_time, Easing.OutQuint);
|
this.MoveToY(0, transition_time, Easing.OutQuint);
|
||||||
this.FadeIn(transition_time / 2, Easing.OutQuint);
|
this.FadeIn(transition_time / 4, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void PopOut()
|
protected override void PopOut()
|
||||||
@ -147,7 +147,7 @@ namespace osu.Game.Overlays.Toolbar
|
|||||||
userButton.StateContainer?.Hide();
|
userButton.StateContainer?.Hide();
|
||||||
|
|
||||||
this.MoveToY(-DrawSize.Y, transition_time, Easing.OutQuint);
|
this.MoveToY(-DrawSize.Y, transition_time, Easing.OutQuint);
|
||||||
this.FadeOut(transition_time);
|
this.FadeOut(transition_time, Easing.InQuint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user