Fix cloned widgets not having default cursor set
This commit is contained in:
@@ -222,6 +222,8 @@ namespace OpenRA.Widgets
|
|||||||
IgnoreChildMouseOver = widget.IgnoreChildMouseOver;
|
IgnoreChildMouseOver = widget.IgnoreChildMouseOver;
|
||||||
IgnoreMouseOver = widget.IgnoreMouseOver;
|
IgnoreMouseOver = widget.IgnoreMouseOver;
|
||||||
|
|
||||||
|
defaultCursor = widget.defaultCursor;
|
||||||
|
|
||||||
foreach (var child in widget.Children)
|
foreach (var child in widget.Children)
|
||||||
AddChild(child.Clone());
|
AddChild(child.Clone());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user