1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 17:54:18 +08:00

Fix current section not being correct after early search

This commit is contained in:
Dean Herbert
2022-04-14 20:36:11 +09:00
Unverified
parent 21a5a2fd69
commit 316c0845ec
+4 -1
View File
@@ -287,7 +287,10 @@ namespace osu.Game.Overlays
set
{
SearchContainer.SearchTerm = value;
InvalidateScrollPosition();
// Schedule required as search term takes a frame to update.
// Without this sections may not be in the correct state to ascertain CurrentSection.
Schedule(InvalidateScrollPosition);
}
}