Skip to content

Commit fd8a6be

Browse files
committed
fix: Ensure anti-aliasing for plane projection
1 parent b263d57 commit fd8a6be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Uno.UI.Composition/Composition/CompositionColorBrush.skia.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public partial class CompositionColorBrush
1010
{
1111
// We don't call SKPaint.Reset() after usage, so make sure
1212
// that only SKPaint.Color is being set
13-
private static readonly SKPaint _tempPaint = new();
13+
private static readonly SKPaint _tempPaint = new() { IsAntialias = true };
1414

1515
internal override void Paint(SKCanvas canvas, float opacity, SKRect bounds)
1616
{

0 commit comments

Comments
 (0)