1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00

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

View File

@ -156,6 +156,8 @@ namespace osu.Game.Overlays
private void updateExpandedState(ValueChangedEvent<bool> expanded)
{
content.ClearTransforms();
if (expanded.NewValue)
content.AutoSizeAxes = Axes.Y;
else