Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
MartyIX committed Jun 28, 2024
1 parent d91cea7 commit b6f0807
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Core/src/Platform/Windows/TransformationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

Expand Down

0 comments on commit b6f0807

Please sign in to comment.