Commit 34e252b6 authored by ubbn's avatar ubbn
Browse files

Skip to consider Symbol element directly, because it is calculated through...

Skip to consider Symbol element directly, because it is calculated through reference from use element
parent e3c7fbea
......@@ -745,6 +745,12 @@ namespace Svg
{
foreach(var child in elem.Children)
{
// Skip to avoid double calculate Symbol element
// symbol element is only referenced by use element
// So here we need to skip when it is directly considered
if (child is Svg.Document_Structure.SvgSymbol)
continue;
if (child is SvgVisualElement)
{
if(!(child is SvgGroup))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment