From fdbfd91b8f4994e6dc99009441586cc931666c71 Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Mon, 9 Feb 2026 21:33:12 +0800 Subject: [PATCH] feat: Properly handle nc hit test for caption buttons. (#745) --- .../Controls/CaptionButtons.axaml | 18 +++++++++++++++--- src/Semi.Avalonia/Controls/TitleBar.axaml | 6 ++++-- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/Semi.Avalonia/Controls/CaptionButtons.axaml b/src/Semi.Avalonia/Controls/CaptionButtons.axaml index 91afa07..2401879 100644 --- a/src/Semi.Avalonia/Controls/CaptionButtons.axaml +++ b/src/Semi.Avalonia/Controls/CaptionButtons.axaml @@ -50,21 +50,33 @@ Data="{StaticResource WindowExpandGlyph}" Foreground="{Binding $parent[Button].Foreground}" /> - - -