1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:52:55 +08:00

Add explanatory comment

This commit is contained in:
Salman Ahmed 2022-05-09 23:49:05 +03:00
parent 702c6ae658
commit 96ea4ee7b3

View File

@ -156,6 +156,8 @@ namespace osu.Game.Overlays
private void updateExpandedState(ValueChangedEvent<bool> expanded)
{
// clearing transforms is necessary to avoid a previous height transform
// potentially continuing to get processed while content has changed to autosize.
content.ClearTransforms();
if (expanded.NewValue)