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:
parent
702c6ae658
commit
96ea4ee7b3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user