Skip to content

Commit

Permalink
Add explanatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed May 9, 2022
1 parent 702c6ae commit 96ea4ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osu.Game/Overlays/SettingsToolboxGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ protected override bool OnInvalidate(Invalidation invalidation, InvalidationSour

private void updateExpandedState(ValueChangedEvent<bool> expanded)
{
// clearing transforms is necessary to avoid a previous height transform
// potentially continuing to get processed while content has changed to autosize.
content.ClearTransforms();

if (expanded.NewValue)
Expand Down

0 comments on commit 96ea4ee

Please sign in to comment.