mirror of https://github.com/ppy/osu
Merge pull request #6407 from UselessToucan/playlist_follow_playback
Autoscroll playlist on song change
This commit is contained in:
commit
0d0321674e
|
@ -109,7 +109,11 @@ private void removeBeatmapSet(BeatmapSetInfo obj)
|
|||
private void updateSelectedSet()
|
||||
{
|
||||
foreach (PlaylistItem s in items.Children)
|
||||
{
|
||||
s.Selected = s.BeatmapSetInfo.ID == beatmapBacking.Value.BeatmapSetInfo?.ID;
|
||||
if (s.Selected)
|
||||
ScrollIntoView(s);
|
||||
}
|
||||
}
|
||||
|
||||
public string SearchTerm
|
||||
|
|
|
@ -19,7 +19,7 @@ public AudioSection()
|
|||
new AudioDevicesSettings(),
|
||||
new VolumeSettings(),
|
||||
new OffsetSettings(),
|
||||
new MainMenuSettings(),
|
||||
new MainMenuSettings()
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue