Browse Source

Fix BeginFigure() usage in Sector to be filled (#13304)

pull/13323/head
robloo 3 years ago
committed by GitHub
parent
commit
3a428a3fe8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Controls/Shapes/Sector.cs

2
src/Avalonia.Controls/Shapes/Sector.cs

@ -80,7 +80,7 @@ namespace Avalonia.Controls.Shapes
var streamGeometry = new StreamGeometry();
using (StreamGeometryContext context = streamGeometry.Open())
{
context.BeginFigure(startCurvePoint, false);
context.BeginFigure(startCurvePoint, isFilled: true);
context.ArcTo(
endCurvePoint,
size,

Loading…
Cancel
Save