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
9fd53516
Commit
9fd53516
authored
Mar 11, 2014
by
tebjan
Browse files
fixed small bug in write attributes
parent
d773cc48
Changes
2
Show whitespace changes
Inline
Side-by-side
Source/SvgElement.cs
View file @
9fd53516
...
@@ -508,7 +508,7 @@ namespace Svg
...
@@ -508,7 +508,7 @@ namespace Svg
{
{
parentAttributeValue
=
null
;
parentAttributeValue
=
null
;
attributeKey
=
char
.
ToUpper
(
attributeKey
[
0
])
+
attributeKey
.
Substring
(
1
);
//
attributeKey = char.ToUpper(attributeKey[0]) + attributeKey.Substring(1);
var
currentParent
=
Parent
;
var
currentParent
=
Parent
;
var
resolved
=
false
;
var
resolved
=
false
;
...
...
Source/Text/SvgText.cs
View file @
9fd53516
...
@@ -213,7 +213,7 @@ namespace Svg
...
@@ -213,7 +213,7 @@ namespace Svg
/// <value>The fill.</value>
/// <value>The fill.</value>
public
override
SvgPaintServer
Fill
public
override
SvgPaintServer
Fill
{
{
get
{
return
(
this
.
Attributes
[
"fill"
]
==
null
)
?
new
SvgColourServer
(
Color
.
Black
)
:
(
SvgPaintServer
)
this
.
Attributes
[
"
F
ill"
];
}
get
{
return
(
this
.
Attributes
[
"fill"
]
==
null
)
?
new
SvgColourServer
(
Color
.
Black
)
:
(
SvgPaintServer
)
this
.
Attributes
[
"
f
ill"
];
}
set
{
this
.
Attributes
[
"fill"
]
=
value
;
}
set
{
this
.
Attributes
[
"fill"
]
=
value
;
}
}
}
...
...
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