mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Schedule selection update handling in MatchSubScreen to avoid firing when not the current screen
This commit is contained in:
@ -164,8 +164,8 @@ namespace osu.Game.Screens.Multi.Match
|
|||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
Playlist.ItemsAdded += _ => updateSelectedItem();
|
Playlist.ItemsAdded += _ => Scheduler.AddOnce(updateSelectedItem);
|
||||||
Playlist.ItemsRemoved += _ => updateSelectedItem();
|
Playlist.ItemsRemoved += _ => Scheduler.AddOnce(updateSelectedItem);
|
||||||
|
|
||||||
updateSelectedItem();
|
updateSelectedItem();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user