1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 18:53:21 +08:00

Don't require every-frame update

This commit is contained in:
Dean Herbert 2018-08-27 17:08:00 +09:00
parent e4ea802c7b
commit 6e6b6b285a

View File

@ -144,13 +144,6 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
updateTeams(); updateTeams();
} }
protected override void UpdateAfterAutoSize()
{
// required because the lines rely on flow being completed by other elements.
base.UpdateAfterAutoSize();
updateProgression();
}
private void updateTeams() private void updateTeams()
{ {
if (LoadState != LoadState.Loaded) if (LoadState != LoadState.Loaded)
@ -167,7 +160,7 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
new DrawableMatchTeam(Pairing.Team2, Pairing) new DrawableMatchTeam(Pairing.Team2, Pairing)
}; };
updateProgression(); SchedulerAfterChildren.Add(() => Scheduler.Add(updateProgression));
updateWinConditions(); updateWinConditions();
} }
} }