mirror of https://github.com/ppy/osu
Fix `SettingsToolboxGroup` not clearing transforms before updating autosize
This commit is contained in:
parent
deda1c83e6
commit
702c6ae658
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue