From 50adaed851980f05b6cb22e59b77b3e56c02ca9f Mon Sep 17 00:00:00 2001 From: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com> Date: Sat, 9 Nov 2024 08:12:55 -0800 Subject: [PATCH] [iOS] RadioButton throws CGContextSetLineWidth - Fix (#25542) * [iOS] RadioButton throws CGContextSetLineWidth - fix * Update RadioButton.cs --- src/Core/src/Platform/iOS/MauiCALayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/src/Platform/iOS/MauiCALayer.cs b/src/Core/src/Platform/iOS/MauiCALayer.cs index e17ebddf78..ee64659610 100644 --- a/src/Core/src/Platform/iOS/MauiCALayer.cs +++ b/src/Core/src/Platform/iOS/MauiCALayer.cs @@ -317,7 +317,7 @@ namespace Microsoft.Maui.Platform void DrawBorder(CGContext ctx) { - if (_strokeThickness == 0) + if (_strokeThickness <= 0) return; if (IsBorderDashed())