diff --git a/src/Svg.Model/Services/TransformsService.cs b/src/Svg.Model/Services/TransformsService.cs index cfed81c0f3..9a9977db88 100644 --- a/src/Svg.Model/Services/TransformsService.cs +++ b/src/Svg.Model/Services/TransformsService.cs @@ -130,7 +130,7 @@ internal static void GetOptionalNumbers(this SvgNumberCollection? svgNumberColle internal static float CalculateOtherPercentageValue(this SKRect skBounds) { - return (float)(Math.Sqrt(skBounds.Width * skBounds.Width + skBounds.Width * skBounds.Height) / Math.Sqrt(2.0)); + return (float)(Math.Sqrt(skBounds.Width * skBounds.Width + skBounds.Height * skBounds.Height) / Math.Sqrt(2.0)); } internal static SvgUnit Normalize(this SvgUnit svgUnit, SvgCoordinateUnits svgCoordinateUnits)