mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 22:47:26 +08:00
Don't use linq query
This commit is contained in:
parent
ac6c323f93
commit
5ce2723719
@ -9,7 +9,6 @@ using osu.Framework.Threading;
|
|||||||
using osu.Game.Beatmaps.Timing;
|
using osu.Game.Beatmaps.Timing;
|
||||||
using osu.Game.Rulesets.Scoring;
|
using osu.Game.Rulesets.Scoring;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace osu.Game.Screens.Play.BreaksOverlay
|
namespace osu.Game.Screens.Play.BreaksOverlay
|
||||||
{
|
{
|
||||||
@ -127,7 +126,7 @@ namespace osu.Game.Screens.Play.BreaksOverlay
|
|||||||
.ResizeWidthTo(0, b.Duration - fade_duration);
|
.ResizeWidthTo(0, b.Duration - fade_duration);
|
||||||
|
|
||||||
tasks.Add(new ScheduledDelegate(() => remainingTimeCounter.StartCounting(b.EndTime), b.StartTime));
|
tasks.Add(new ScheduledDelegate(() => remainingTimeCounter.StartCounting(b.EndTime), b.StartTime));
|
||||||
Scheduler.Add(tasks.Last());
|
Scheduler.Add(tasks[tasks.Count - 1]);
|
||||||
|
|
||||||
remainingTimeCounter.FadeIn(fade_duration);
|
remainingTimeCounter.FadeIn(fade_duration);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user