mirror of
https://github.com/ppy/osu.git
synced 2026-05-22 01:59:53 +08:00
Scroll content forever rather than aggressively fading
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user