mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 08:12:56 +08:00
Remove unnecessary autosize workaround (was fixed long ago)
This commit is contained in:
parent
949e30c4b4
commit
59add66632
@ -141,10 +141,6 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
Expanded.BindValueChanged(v =>
|
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);
|
Scheduler.AddOnce(updateExpandedState);
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user