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
0d6779d5
"Source/vscode:/vscode.git/clone" did not exist on "9643cc6974e3a53ad8ee6e31220f2ac33f224493"
Commit
0d6779d5
authored
Sep 23, 2014
by
Ritch Melton
Browse files
Inverted test
parent
9b224b2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/Text/SvgTextBase.cs
View file @
0d6779d5
...
@@ -297,7 +297,7 @@ namespace Svg
...
@@ -297,7 +297,7 @@ namespace Svg
{
{
//if there is a TSpan inside of this text element then path should not be null (even if this text is empty!)
//if there is a TSpan inside of this text element then path should not be null (even if this text is empty!)
var
nodes
=
GetContentNodes
().
Where
(
x
=>
x
is
SvgContentNode
)
var
nodes
=
GetContentNodes
().
Where
(
x
=>
x
is
SvgContentNode
)
.
Select
(
n
=>
string
.
IsNullOrEmpty
(
n
.
Content
.
Trim
(
new
[]
{
'\r'
,
'\n'
,
'\t'
})));
.
Select
(
n
=>
!
string
.
IsNullOrEmpty
(
n
.
Content
.
Trim
(
new
[]
{
'\r'
,
'\n'
,
'\t'
})));
if
(
_path
==
null
||
IsPathDirty
||
nodes
.
Any
())
if
(
_path
==
null
||
IsPathDirty
||
nodes
.
Any
())
{
{
...
...
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