Skip to content

Commit b7b5d72

Browse files
committed
Demonstrate the new tests still pass without the change.
1 parent 262c8f9 commit b7b5d72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ImageSharp.Drawing/Processing/PathGradientBrush.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public PathGradientBrushApplicator(
265265
return this.centerPixel;
266266
}
267267

268-
if (this.edges.Count == 3 && !this.hasSpecialCenterColor)
268+
/*if (this.edges.Count == 3 && !this.hasSpecialCenterColor)
269269
{
270270
if (!FindPointOnTriangle(
271271
this.edges[0].Start,
@@ -282,7 +282,7 @@ public PathGradientBrushApplicator(
282282
(v * this.edges[2].StartColor);
283283
284284
return new Color(pointColor).ToPixel<TPixel>();
285-
}
285+
}*/
286286

287287
var direction = Vector2.Normalize(point - this.center);
288288
PointF end = point + (PointF)(direction * this.maxDistance);

0 commit comments

Comments
 (0)