mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 12:23:04 +08:00
Slight transtion adjust to now playing overlay appear/disappear
This commit is contained in:
@@ -37,7 +37,7 @@ namespace osu.Game.Overlays
|
||||
|
||||
private const float player_width = 400;
|
||||
private const float player_height = 130;
|
||||
private const float transition_length = 800;
|
||||
private const float transition_length = 500;
|
||||
private const float progress_height = 10;
|
||||
private const float bottom_black_area_height = 55;
|
||||
private const float margin = 10;
|
||||
@@ -289,7 +289,7 @@ namespace osu.Game.Overlays
|
||||
protected override void PopIn()
|
||||
{
|
||||
this.FadeIn(transition_length, Easing.OutQuint);
|
||||
dragContainer.ScaleTo(1, transition_length, Easing.OutElastic);
|
||||
dragContainer.ScaleTo(1, transition_length, Easing.OutElasticHalf);
|
||||
}
|
||||
|
||||
protected override void PopOut()
|
||||
|
||||
Reference in New Issue
Block a user