mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Cancel the existing scheduled task when running it ahead of time.
This commit is contained in:
parent
2dcb4e9b93
commit
1e3847c73c
@ -200,6 +200,7 @@ namespace osu.Game.Screens.Select
|
|||||||
selectionChangedDebounce = null;
|
selectionChangedDebounce = null;
|
||||||
|
|
||||||
pendingSelection?.RunTask();
|
pendingSelection?.RunTask();
|
||||||
|
pendingSelection?.Cancel(); // cancel the already scheduled task.
|
||||||
|
|
||||||
if (Beatmap == null) return;
|
if (Beatmap == null) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user