1
0
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:
Dean Herbert
2026-03-18 12:46:19 +09:00
Unverified
parent f1f753f7c2
commit f97d77c0b7
+2 -2
View File
@@ -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()