1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 16:03:01 +08:00

Cancel the existing scheduled task when running it ahead of time.

This commit is contained in:
Dean Herbert 2017-04-29 20:28:56 +09:00
parent 2dcb4e9b93
commit 1e3847c73c

View File

@ -200,6 +200,7 @@ namespace osu.Game.Screens.Select
selectionChangedDebounce = null;
pendingSelection?.RunTask();
pendingSelection?.Cancel(); // cancel the already scheduled task.
if (Beatmap == null) return;