Fixed ScrollPanelWidget not resetting on Clear

This commit is contained in:
penev92
2022-06-04 00:08:54 +03:00
committed by abcdefg30
parent 8402d7d476
commit 2f0f5f4cda

View File

@@ -122,6 +122,7 @@ namespace OpenRA.Mods.Common.Widgets
{
ContentHeight = 0;
base.RemoveChildren();
Scroll(0);
}
public override void AddChild(Widget child)