mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 01:42:59 +08:00
Fix current section not being correct after early search
This commit is contained in:
parent
21a5a2fd69
commit
316c0845ec
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user