mirror of https://github.com/ppy/osu
Remove unnecessary autosize workaround (was fixed long ago)
This commit is contained in:
parent
949e30c4b4
commit
59add66632
|
@ -141,10 +141,6 @@ protected override void LoadComplete()
|
|||
|
||||
Expanded.BindValueChanged(v =>
|
||||
{
|
||||
// clearing transforms can break autosizing, see: https://github.com/ppy/osu-framework/issues/5064
|
||||
if (v.NewValue != v.OldValue)
|
||||
content.ClearTransforms();
|
||||
|
||||
Scheduler.AddOnce(updateExpandedState);
|
||||
}, true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue