1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 19:50:31 +08:00

Merge pull request #6407 from UselessToucan/playlist_follow_playback

Autoscroll playlist on song change
This commit is contained in:
Dean Herbert
2019-10-08 11:07:45 +09:00
committed by GitHub
Unverified
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -109,7 +109,11 @@ namespace osu.Game.Overlays.Music
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 @@ namespace osu.Game.Overlays.Settings.Sections
new AudioDevicesSettings(),
new VolumeSettings(),
new OffsetSettings(),
new MainMenuSettings(),
new MainMenuSettings()
};
}
}