1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-01 20:20:31 +08:00

Add explanatory note for scheduling

This commit is contained in:
Salman Ahmed
2023-12-05 19:44:14 +03:00
Unverified
parent 927cfe4257
commit 9496cdf42b
@@ -174,6 +174,7 @@ namespace osu.Game.Screens.Play.HUD
private void onNewJudgement(JudgementResult result) => pendingJudgementResult = result;
private void onCurrentChanged(ValueChangedEvent<double> valueChangedEvent)
// schedule display updates one frame later to ensure we know the judgement result causing this change (if there is one).
=> Scheduler.AddOnce(updateDisplay);
private void updateDisplay()