Fix `SettingsToolboxGroup` not clearing transforms before updating autosize

This commit is contained in:
Salman Ahmed 2022-05-09 13:49:31 +03:00
parent deda1c83e6
commit 702c6ae658
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ protected override bool OnInvalidate(Invalidation invalidation, InvalidationSour
private void updateExpandedState(ValueChangedEvent<bool> expanded)
{
content.ClearTransforms();
if (expanded.NewValue)
content.AutoSizeAxes = Axes.Y;
else