mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:45:09 +08:00
Add note about using ExceptBy
once it's available
This commit is contained in:
parent
ce5aacb760
commit
ee6f036c44
@ -180,6 +180,8 @@ namespace osu.Game.Overlays
|
||||
// new results may contain beatmaps from a previous page,
|
||||
// this is dodgy but matches web behaviour for now.
|
||||
// see: https://github.com/ppy/osu-web/issues/9270
|
||||
// todo: replace custom equality compraer with ExceptBy in net6.0
|
||||
// newCards = newCards.ExceptBy(foundContent.Select(c => c.BeatmapSet.OnlineID), c => c.BeatmapSet.OnlineID);
|
||||
newCards = newCards.Except(foundContent, BeatmapCardEqualityComparer.Default);
|
||||
|
||||
panelLoadTask = LoadComponentsAsync(newCards, loaded =>
|
||||
|
Loading…
Reference in New Issue
Block a user