From 284ea6339c21cb32cbb69273375932e08511ed18 Mon Sep 17 00:00:00 2001 From: Ramez Ragaa Date: Wed, 8 May 2024 15:04:06 +0300 Subject: [PATCH] chore: formatting --- .../Composition/Uno/Visual.PaintingSession.skia.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Uno.UI.Composition/Composition/Uno/Visual.PaintingSession.skia.cs b/src/Uno.UI.Composition/Composition/Uno/Visual.PaintingSession.skia.cs index 12470a37552a..4ed3e57dac44 100644 --- a/src/Uno.UI.Composition/Composition/Uno/Visual.PaintingSession.skia.cs +++ b/src/Uno.UI.Composition/Composition/Uno/Visual.PaintingSession.skia.cs @@ -18,7 +18,7 @@ private interface IPrivateSessionFactory /// Accessing Surface.Canvas is slow due to SkiaSharp interop. /// Avoid using .Surface.Canvas and use .Canvas right away. /// - internal readonly struct PaintingSession: IDisposable + internal readonly struct PaintingSession : IDisposable { // This dance is done to make it so that only Visual can create a PaintingSession public readonly struct SessionFactory : IPrivateSessionFactory @@ -33,7 +33,7 @@ PaintingSession IPrivateSessionFactory.CreateInstance(in Visual visual, in SKSur private PaintingSession(Visual visual, SKSurface surface, SKCanvas canvas, in DrawingFilters filters, in Matrix4x4 rootTransform) { - _saveCount = visual.ShadowState is { } shadow ? canvas.SaveLayer(shadow.Paint) : canvas.Save();; + _saveCount = visual.ShadowState is { } shadow ? canvas.SaveLayer(shadow.Paint) : canvas.Save(); Surface = surface; Canvas = canvas; Filters = filters;