Commit 35d0e857 authored by Tebjan Halm's avatar Tebjan Halm Committed by GitHub
Browse files

Merge pull request #296 from mrbean-bremen/path-regression

Reverted unneeded part of previous fix
parents 8ad92e3a c1470c67
...@@ -14,12 +14,9 @@ namespace Svg.Pathing ...@@ -14,12 +14,9 @@ namespace Svg.Pathing
} }
public override void AddToPath(System.Drawing.Drawing2D.GraphicsPath graphicsPath) public override void AddToPath(System.Drawing.Drawing2D.GraphicsPath graphicsPath)
{
if (this.Start != this.End)
{ {
graphicsPath.AddLine(this.Start, this.End); graphicsPath.AddLine(this.Start, this.End);
} }
}
public override string ToString() public override string ToString()
{ {
......
...@@ -14,12 +14,9 @@ namespace Svg.Pathing ...@@ -14,12 +14,9 @@ namespace Svg.Pathing
} }
public override void AddToPath(System.Drawing.Drawing2D.GraphicsPath graphicsPath) public override void AddToPath(System.Drawing.Drawing2D.GraphicsPath graphicsPath)
{
if (this.Start != this.End)
{ {
graphicsPath.StartFigure(); graphicsPath.StartFigure();
} }
}
public override string ToString() public override string ToString()
{ {
......
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