Skip to content

Commit

Permalink
Revert "Remove one more unnecessary schedule"
Browse files Browse the repository at this point in the history
This reverts commit f282e5b.
  • Loading branch information
peppy committed Apr 22, 2022
1 parent ca6c292 commit 5f3ff51
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions osu.Game/Graphics/Containers/SectionsContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,11 @@ protected override bool OnInvalidate(Invalidation invalidation, InvalidationSour

protected void InvalidateScrollPosition()
{
lastKnownScroll = null;
lastClickedSection = null;
Schedule(() =>
{
lastKnownScroll = null;
lastClickedSection = null;
});
}

protected override void UpdateAfterChildren()
Expand Down

0 comments on commit 5f3ff51

Please sign in to comment.