From 30531df3273f576a11ed2ca03c07a07d740a5eea Mon Sep 17 00:00:00 2001 From: Kevin Ivarsen Date: Thu, 21 Apr 2022 01:43:29 -0700 Subject: [PATCH] Disable clipping in DevTools content/padding/margin adorner so that the margin part is visible (fixes #8025) --- src/Avalonia.Diagnostics/Diagnostics/Views/TreePageView.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Avalonia.Diagnostics/Diagnostics/Views/TreePageView.xaml.cs b/src/Avalonia.Diagnostics/Diagnostics/Views/TreePageView.xaml.cs index 2553ae90ce..58807b489e 100644 --- a/src/Avalonia.Diagnostics/Diagnostics/Views/TreePageView.xaml.cs +++ b/src/Avalonia.Diagnostics/Diagnostics/Views/TreePageView.xaml.cs @@ -36,6 +36,7 @@ namespace Avalonia.Diagnostics.Views new Border { BorderBrush = new SolidColorBrush(Colors.Yellow, 0.5) } }, }; + AdornerLayer.SetIsClipEnabled(_adorner, false); } protected void AddAdorner(object? sender, PointerEventArgs e)