Revert "Revert "Remove one more unnecessary schedule""

This reverts commit 5f3ff51f7e.
This commit is contained in:
Salman Ahmed
2022-04-22 19:23:54 +03:00
parent b283586f7d
commit 0dc3d1041f

View File

@ -194,12 +194,9 @@ namespace osu.Game.Graphics.Containers
} }
protected void InvalidateScrollPosition() protected void InvalidateScrollPosition()
{
Schedule(() =>
{ {
lastKnownScroll = null; lastKnownScroll = null;
lastClickedSection = null; lastClickedSection = null;
});
} }
protected override void UpdateAfterChildren() protected override void UpdateAfterChildren()