Fixed ScrollPanelWidget not resetting on Clear
This commit is contained in:
@@ -122,6 +122,7 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
{
|
{
|
||||||
ContentHeight = 0;
|
ContentHeight = 0;
|
||||||
base.RemoveChildren();
|
base.RemoveChildren();
|
||||||
|
Scroll(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void AddChild(Widget child)
|
public override void AddChild(Widget child)
|
||||||
|
|||||||
Reference in New Issue
Block a user