Skip to content

Commit

Permalink
feat: [Skia] Add support for UIElement.TransformToVisual
Browse files Browse the repository at this point in the history
  • Loading branch information
dr1rrb committed Aug 3, 2020
1 parent 17ffa98 commit 8403fc2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Uno.UI/UI/Xaml/UIElement.Skia.cs
Expand Up @@ -217,9 +217,7 @@ internal void ClearChildren()
public IntPtr Handle { get; set; }

internal Windows.Foundation.Point GetPosition(Point position, global::Windows.UI.Xaml.UIElement relativeTo)
{
throw new NotSupportedException();
}
=> TransformToVisual(relativeTo).TransformPoint(position);

protected virtual void OnVisibilityChanged(Visibility oldValue, Visibility newVisibility)
{
Expand Down

0 comments on commit 8403fc2

Please sign in to comment.