1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:07:52 +08:00

Increase transition durations slightly

Maybe slightly better readability. Dunno.
This commit is contained in:
Bartłomiej Dach 2024-02-14 10:15:27 +01:00
parent 6baa099906
commit 153024e61b
No known key found for this signature in database

View File

@ -84,7 +84,7 @@ namespace osu.Game.Overlays.Toolbar
if (update.After.PP != null) if (update.After.PP != null)
pp.Display(update.Before.PP ?? update.After.PP.Value, Math.Abs((update.After.PP - update.Before.PP) ?? 0M), update.After.PP.Value); pp.Display(update.Before.PP ?? update.After.PP.Value, Math.Abs((update.After.PP - update.Before.PP) ?? 0M), update.After.PP.Value);
this.Delay(4000).FadeOut(500, Easing.OutQuint); this.Delay(5000).FadeOut(500, Easing.OutQuint);
}); });
} }
@ -183,11 +183,11 @@ namespace osu.Game.Overlays.Toolbar
titleText.Alpha = 1; titleText.Alpha = 1;
deltaValue.Alpha = 0; deltaValue.Alpha = 0;
using (BeginDelayedSequence(1000)) using (BeginDelayedSequence(1500))
{ {
titleText.FadeOut(250, Easing.OutQuint); titleText.FadeOut(250, Easing.OutQuint);
deltaValue.FadeIn(250, Easing.OutQuint) deltaValue.FadeIn(250, Easing.OutQuint)
.Then().Delay(1000) .Then().Delay(1500)
.Then().Schedule(() => .Then().Schedule(() =>
{ {
mainValue.Current.Value = after; mainValue.Current.Value = after;