From b6f0807cb6afa1ec73c48368b66e4b0b458a91d3 Mon Sep 17 00:00:00 2001 From: MartyIX <203266+MartyIX@users.noreply.github.com> Date: Thu, 27 Jun 2024 19:26:50 +0200 Subject: [PATCH] ... --- src/Core/src/Platform/Windows/TransformationExtensions.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Core/src/Platform/Windows/TransformationExtensions.cs b/src/Core/src/Platform/Windows/TransformationExtensions.cs index 6b6c47be3870..94e238519a8f 100644 --- a/src/Core/src/Platform/Windows/TransformationExtensions.cs +++ b/src/Core/src/Platform/Windows/TransformationExtensions.cs @@ -27,6 +27,9 @@ public static void UpdateTransformation(this FrameworkElement frameworkElement, } else { + double anchorX = view.AnchorX; + double anchorY = view.AnchorY; + frameworkElement.RenderTransformOrigin = new global::Windows.Foundation.Point(anchorX, anchorY); frameworkElement.RenderTransform = new ScaleTransform { ScaleX = scaleX, ScaleY = scaleY };