mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Update parameter discards
This commit is contained in:
@ -27,7 +27,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Playlist.CollectionChanged += (_, __) => updateText();
|
||||
Playlist.CollectionChanged += (_, _) => updateText();
|
||||
|
||||
updateText();
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
||||
|
||||
switch (tab)
|
||||
{
|
||||
case BeatmapDetailAreaPlaylistTabItem _:
|
||||
case BeatmapDetailAreaPlaylistTabItem:
|
||||
playlistArea.Show();
|
||||
break;
|
||||
|
||||
|
@ -26,7 +26,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
||||
InternalChild = sprite = CreateBackgroundSprite();
|
||||
|
||||
CurrentPlaylistItem.BindValueChanged(_ => updateBeatmap());
|
||||
Playlist.CollectionChanged += (_, __) => updateBeatmap();
|
||||
Playlist.CollectionChanged += (_, _) => updateBeatmap();
|
||||
|
||||
updateBeatmap();
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
RecentParticipants.CollectionChanged += (_, __) => updateParticipants();
|
||||
RecentParticipants.CollectionChanged += (_, _) => updateParticipants();
|
||||
updateParticipants();
|
||||
}
|
||||
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user