Browse Source

Use correct interface for root window impl.

pull/5177/head
Steven Kirk 4 years ago
parent
commit
d6b09a9f4b
  1. 4
      src/Windows/Avalonia.Win32/Automation/RootAutomationNode.cs

4
src/Windows/Avalonia.Win32/Automation/RootAutomationNode.cs

@ -22,8 +22,8 @@ namespace Avalonia.Win32.Automation
public override IRawElementProviderFragmentRoot? FragmentRoot => this;
public new IRootProvider Peer { get; }
public IWindowImpl? WindowImpl => Peer.PlatformImpl as IWindowImpl;
public IWindowBaseImpl? WindowImpl => Peer.PlatformImpl as IWindowBaseImpl;
public IRawElementProviderFragment? ElementProviderFromPoint(double x, double y)
{
if (WindowImpl is null)

Loading…
Cancel
Save