mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 04:53:21 +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)
|
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();
|
content.ClearTransforms();
|
||||||
|
|
||||||
if (expanded.NewValue)
|
if (expanded.NewValue)
|
||||||
|
Loading…
Reference in New Issue
Block a user