From e4f95745ce380a32545dc9fa755ee73d87824eeb Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 1 Sep 2024 17:01:24 +0800 Subject: [PATCH] fix: `IsCloseButtonOnly` is not work on Windows (#431) --- src/Views/CaptionButtons.axaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Views/CaptionButtons.axaml b/src/Views/CaptionButtons.axaml index 1bc581ea..abbc8aaa 100644 --- a/src/Views/CaptionButtons.axaml +++ b/src/Views/CaptionButtons.axaml @@ -3,12 +3,13 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" - x:Class="SourceGit.Views.CaptionButtons"> + x:Class="SourceGit.Views.CaptionButtons" + x:Name="ThisControl"> - -