SVGHMI: Applies clone unlinking to widget themselves, not only to clones inside widgets.
--- a/svghmi/inline_svg.ysl2 Thu May 14 09:24:09 2020 +0200
+++ b/svghmi/inline_svg.ysl2 Thu May 14 17:48:15 2020 +0200
@@ -47,7 +47,7 @@
// For now, clone unlinkink applies to descendants of all widget except HMI:Page
// TODO: narrow application of clone unlinking to active elements,
// while keeping static decoration cloned
-const "to_unlink", "$hmi_elements[not(@id = $hmi_pages)]//svg:use";
+const "to_unlink", "$hmi_elements[not(@id = $hmi_pages)]/descendant-or-self::svg:use";
svgtmpl "svg:use", mode="inline_svg"
{
choose {