Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
e0568e61
Commit
e0568e61
authored
Mar 12, 2015
by
Josh McCullough
Browse files
Set writeStyle for use later.
parent
af7e5fd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/SvgElement.cs
View file @
e0568e61
...
@@ -562,7 +562,7 @@ namespace Svg
...
@@ -562,7 +562,7 @@ namespace Svg
forceWrite
=
false
;
forceWrite
=
false
;
writeStyle
=
(
attr
.
Attribute
.
Name
==
"fill"
);
writeStyle
=
(
attr
.
Attribute
.
Name
==
"fill"
);
if
(
(
attr
.
Attribute
.
Name
==
"fill"
)
&&
(
Parent
!=
null
))
if
(
writeStyle
&&
(
Parent
!=
null
))
{
{
if
(
propertyValue
==
SvgColourServer
.
NotSet
)
continue
;
if
(
propertyValue
==
SvgColourServer
.
NotSet
)
continue
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment