Commit 9fd53516 authored by tebjan's avatar tebjan
Browse files

fixed small bug in write attributes

parent d773cc48
...@@ -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;
......
...@@ -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["Fill"]; } get { return (this.Attributes["fill"] == null) ? new SvgColourServer(Color.Black) : (SvgPaintServer)this.Attributes["fill"]; }
set { this.Attributes["fill"] = value; } set { this.Attributes["fill"] = value; }
} }
......
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