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
18ec8075
Commit
18ec8075
authored
Mar 20, 2014
by
tebjan
Browse files
if fill property is empty string set none as fill value
parent
ea0a75f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/Painting/SvgPaintServerFactory.cs
View file @
18ec8075
...
...
@@ -49,7 +49,7 @@ namespace Svg
if
(
value
is
string
)
{
var
s
=
(
string
)
value
;
if
(
String
.
Equals
(
s
.
Trim
(),
"none"
,
StringComparison
.
OrdinalIgnoreCase
))
if
(
String
.
Equals
(
s
.
Trim
(),
"none"
,
StringComparison
.
OrdinalIgnoreCase
)
||
string
.
IsNullOrWhiteSpace
(
s
)
)
return
SvgPaintServer
.
None
;
else
return
SvgPaintServerFactory
.
Create
(
s
,
(
SvgDocument
)
context
);
...
...
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