Browse Source

Fixed title bar appearing in content element tree (#20485)

pull/20505/head
Melissa 3 weeks ago
committed by GitHub
parent
commit
2bcbbde723
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.Controls/Automation/Peers/TitleBarAutomationPeer.cs

2
src/Avalonia.Controls/Automation/Peers/TitleBarAutomationPeer.cs

@ -10,7 +10,7 @@ internal class TitleBarAutomationPeer : ControlAutomationPeer
{ {
} }
protected override bool IsContentElementCore() => true; protected override bool IsContentElementCore() => false;
protected override string GetClassNameCore() protected override string GetClassNameCore()
{ {

Loading…
Cancel
Save