Update parameter discards

This commit is contained in:
Dean Herbert
2022-06-24 21:25:23 +09:00
parent 30eebf3511
commit 31a447fda0
182 changed files with 309 additions and 309 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
[BackgroundDependencyLoader]
private void load()
{
Playlist.CollectionChanged += (_, __) => updateText();
Playlist.CollectionChanged += (_, _) => updateText();
updateText();
}

View File

@ -86,7 +86,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
switch (tab)
{
case BeatmapDetailAreaPlaylistTabItem _:
case BeatmapDetailAreaPlaylistTabItem:
playlistArea.Show();
break;

View File

@ -26,7 +26,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
InternalChild = sprite = CreateBackgroundSprite();
CurrentPlaylistItem.BindValueChanged(_ => updateBeatmap());
Playlist.CollectionChanged += (_, __) => updateBeatmap();
Playlist.CollectionChanged += (_, _) => updateBeatmap();
updateBeatmap();
}

View File

@ -18,7 +18,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
{
base.LoadComplete();
Playlist.BindCollectionChanged((_, __) => Details.Value = Playlist.GetTotalDuration(), true);
Playlist.BindCollectionChanged((_, _) => Details.Value = Playlist.GetTotalDuration(), true);
}
}
}

View File

@ -60,7 +60,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
[BackgroundDependencyLoader]
private void load()
{
RecentParticipants.CollectionChanged += (_, __) => updateParticipants();
RecentParticipants.CollectionChanged += (_, _) => updateParticipants();
updateParticipants();
}

View File

@ -77,7 +77,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
base.LoadComplete();
DifficultyRange.BindValueChanged(_ => updateRange());
Playlist.BindCollectionChanged((_, __) => updateRange(), true);
Playlist.BindCollectionChanged((_, _) => updateRange(), true);
}
private void updateRange()