mirror of
https://github.com/ppy/osu.git
synced 2025-03-24 16:17:23 +08:00
Allow user cancellation
This commit is contained in:
parent
257a96ef60
commit
56bfb92ba6
@ -219,6 +219,9 @@ namespace osu.Game
|
||||
|
||||
foreach (var id in scoreIds)
|
||||
{
|
||||
if (notification.State == ProgressNotificationState.Cancelled)
|
||||
break;
|
||||
|
||||
notification.Text = $"Upgrading scores to new scoring algorithm ({processedCount} of {scoreIds.Count})";
|
||||
notification.Progress = (float)processedCount / scoreIds.Count;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user