Browse Source

More fixing of provider resolution.

Arrgh! Forgot to save the file.
pull/12330/head
Steven Kirk 3 years ago
parent
commit
8ffbb2a214
  1. 2
      src/Avalonia.Native/AvnAutomationPeer.cs

2
src/Avalonia.Native/AvnAutomationPeer.cs

@ -62,7 +62,7 @@ namespace Avalonia.Native
var peer = _inner;
var parent = peer.GetParent();
while (peer is not IRootProvider && parent is not null)
while (peer.GetProvider<IRootProvider>() is null && parent is not null)
{
peer = parent;
parent = peer.GetParent();

Loading…
Cancel
Save