1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +08:00

Merge pull request #20937 from Joehuu/listing-scroll-to-top-tags/source

Scroll beatmap listing to top when searching via tags/source
This commit is contained in:
Dean Herbert 2022-10-26 11:37:09 +09:00 committed by GitHub
commit 0ed40c8676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,6 +115,7 @@ namespace osu.Game.Overlays
{ {
filterControl.Search(query); filterControl.Search(query);
Show(); Show();
ScrollFlow.ScrollToStart();
} }
protected override BeatmapListingHeader CreateHeader() => new BeatmapListingHeader(); protected override BeatmapListingHeader CreateHeader() => new BeatmapListingHeader();