mirror of
https://github.com/ppy/osu.git
synced 2026-05-20 07:19:53 +08:00
Cancel slider generation when requested
Didn't notice a particular case with this one, just came up as I was looking through code.
This commit is contained in:
@@ -46,6 +46,8 @@ namespace osu.Game.Rulesets.Objects
|
||||
|
||||
for (int span = 0; span < spanCount; span++)
|
||||
{
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
|
||||
double spanStartTime = startTime + span * spanDuration;
|
||||
bool reversed = span % 2 == 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user