From 7063ad76640a7d25d92a67a4d32b840f5aa9d5e9 Mon Sep 17 00:00:00 2001 From: Ramez Ragaa Date: Tue, 19 Nov 2024 15:10:16 +0200 Subject: [PATCH] chore: fix tests --- .../Composition/CompositionSpriteShape.skia.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Uno.UI.Composition/Composition/CompositionSpriteShape.skia.cs b/src/Uno.UI.Composition/Composition/CompositionSpriteShape.skia.cs index 83b89b666b8c..186dec21cc7f 100644 --- a/src/Uno.UI.Composition/Composition/CompositionSpriteShape.skia.cs +++ b/src/Uno.UI.Composition/Composition/CompositionSpriteShape.skia.cs @@ -101,9 +101,9 @@ internal override void Paint(in Visual.PaintingSession session) // Get the stroke geometry, after scaling has been applied. geometryWithTransformations.GetFillPath(strokePaint, strokeFillPath); - stroke.UpdatePaint(strokePaint, strokeFillPath.Bounds); + stroke.UpdatePaint(fillPaint, strokeFillPath.Bounds); - session.Canvas.DrawPath(strokeFillPath, strokePaint); + session.Canvas.DrawPath(strokeFillPath, fillPaint); } } }