1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:12:57 +08:00

Indicate unused variable

This commit is contained in:
Dean Herbert 2017-12-18 08:05:57 +09:00
parent dfd7787b15
commit 954bc77a71

View File

@ -70,18 +70,15 @@ namespace osu.Game.Screens.Select
newRoot.Filter(activeCriteria);
// preload drawables as the ctor overhead is quite high currently.
var drawables = newRoot.Drawables;
}).ContinueWith(t =>
var _ = newRoot.Drawables;
}).ContinueWith(_ => Schedule(() =>
{
Schedule(() =>
{
root = newRoot;
scrollableContent.Clear(false);
itemsCache.Invalidate();
scrollPositionCache.Invalidate();
BeatmapSetsChanged?.Invoke();
});
});
root = newRoot;
scrollableContent.Clear(false);
itemsCache.Invalidate();
scrollPositionCache.Invalidate();
BeatmapSetsChanged?.Invoke();
}));
}
}