Fix cloned widgets not having default cursor set

This commit is contained in:
Gustas
2022-11-11 19:10:23 +02:00
committed by Smittytron
parent a85ac26367
commit 243e2b2a2a

View File

@@ -222,6 +222,8 @@ namespace OpenRA.Widgets
IgnoreChildMouseOver = widget.IgnoreChildMouseOver;
IgnoreMouseOver = widget.IgnoreMouseOver;
defaultCursor = widget.defaultCursor;
foreach (var child in widget.Children)
AddChild(child.Clone());
}