Skip to content

Commit

Permalink
[iOS] RadioButton throws CGContextSetLineWidth - Fix (dotnet#25542)
Browse files Browse the repository at this point in the history
* [iOS] RadioButton throws CGContextSetLineWidth - fix

* Update RadioButton.cs
  • Loading branch information
kubaflo authored Nov 9, 2024
1 parent b2d1c31 commit 50adaed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/src/Platform/iOS/MauiCALayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ void DrawBackground(CGContext ctx)

void DrawBorder(CGContext ctx)
{
if (_strokeThickness == 0)
if (_strokeThickness <= 0)
return;

if (IsBorderDashed())
Expand Down

0 comments on commit 50adaed

Please sign in to comment.