From c14368faaaa96f3b86ddfa5fef544f7d0933f0e3 Mon Sep 17 00:00:00 2001 From: Ramez Ragaa Date: Wed, 23 Oct 2024 23:42:23 +0300 Subject: [PATCH] chore: build error --- src/Uno.UI/UI/Xaml/Media/VisualTreeHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uno.UI/UI/Xaml/Media/VisualTreeHelper.cs b/src/Uno.UI/UI/Xaml/Media/VisualTreeHelper.cs index a897299dcd4d..7fabfc05fa15 100644 --- a/src/Uno.UI/UI/Xaml/Media/VisualTreeHelper.cs +++ b/src/Uno.UI/UI/Xaml/Media/VisualTreeHelper.cs @@ -520,7 +520,7 @@ internal static (UIElement? element, Branch? stale) SearchDownForTopMostElementA Rect clippingBounds; using (SkiaHelper.GetTempSKPath(out var viewBoxPath)) { - clippingBounds = element.Visual.GetViewBoxPathInElementCoordinateSpace(viewBoxPath) + clippingBounds = element.Visual.GetArrangeClipPathInElementCoordinateSpace(viewBoxPath) ? transformToElement.Transform(viewBoxPath.TightBounds.ToRect()) : Rect.Infinite; }