Fix code factor issues

> ran "dotnet format --check", shouldn't return whitespace errors anymore
This commit is contained in:
「空白」 2020-05-13 01:14:11 +09:00
parent 35e7cee458
commit 0c60b10757
2 changed files with 2 additions and 5 deletions

View File

@ -154,7 +154,7 @@ namespace osu.Game.Overlays.BeatmapListing
currentBeatmaps = beatmaps; currentBeatmaps = beatmaps;
else else
currentBeatmaps.AddRange(beatmaps); currentBeatmaps.AddRange(beatmaps);
SearchFinished?.Invoke(beatmaps); SearchFinished?.Invoke(beatmaps);
} }

View File

@ -44,7 +44,7 @@ namespace osu.Game.Overlays
{ {
} }
private BeatmapListingFilterControl filterControl;//actual search settings private BeatmapListingFilterControl filterControl;
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
@ -157,7 +157,6 @@ namespace osu.Game.Overlays
//Pagination case //Pagination case
else else
{ {
beatmaps.ForEach(x => beatmaps.ForEach(x =>
{ {
LoadComponentAsync(new GridBeatmapPanel(x) LoadComponentAsync(new GridBeatmapPanel(x)
@ -198,7 +197,6 @@ namespace osu.Game.Overlays
currentContent = content; currentContent = content;
} }
protected override void Dispose(bool isDisposing) protected override void Dispose(bool isDisposing)
{ {
cancellationToken?.Cancel(); cancellationToken?.Cancel();
@ -253,7 +251,6 @@ namespace osu.Game.Overlays
if (shouldAddNextPage) if (shouldAddNextPage)
filterControl.AddPageToResult(); filterControl.AddPageToResult();
} }
} }
} }