Scroll content forever rather than aggressively fading

This commit is contained in:
Dean Herbert 2024-07-25 14:20:17 +09:00
parent bba151a776
commit c90d345ff9
No known key found for this signature in database

View File

@ -54,7 +54,6 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
PresentScore = PresentScore,
};
flow.Add(row);
row.Delay(15000).Then().FadeOut(300, Easing.OutQuint).Expire();
}
protected override void Update()
@ -65,6 +64,8 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
{
var row = flow[i];
row.Alpha = Math.Max(0, (row.Y + flow.DrawHeight) / flow.DrawHeight);
if (row.Y < -flow.DrawHeight)
{
row.RemoveAndDisposeImmediately();