From 0ba7781462ded1738d50641986d00af2948fa0d9 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Thu, 1 Dec 2022 12:05:53 +0000 Subject: [PATCH] Fix StackOverflow in FromCircle --- X10D/src/Drawing/CircleF.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/X10D/src/Drawing/CircleF.cs b/X10D/src/Drawing/CircleF.cs index da0759c..6a64962 100644 --- a/X10D/src/Drawing/CircleF.cs +++ b/X10D/src/Drawing/CircleF.cs @@ -191,7 +191,7 @@ public readonly struct CircleF : IEquatable, IComparable, ICom /// The converted circle. public static CircleF FromCircle(Circle circle) { - return new Circle(circle.Center, circle.Radius); + return new CircleF(circle.Center, circle.Radius); } ///