From f4f5ae7430bf5d9014adde60ed2aa2af5e657d33 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 20 Aug 2024 20:59:57 +0800 Subject: [PATCH] ux: remove rounded corner when window is maximized using TemplateBinding (#378) --- src/Resources/Styles.axaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Resources/Styles.axaml b/src/Resources/Styles.axaml index 0af9d9e8..bceecf90 100644 --- a/src/Resources/Styles.axaml +++ b/src/Resources/Styles.axaml @@ -47,6 +47,7 @@ + @@ -120,9 +121,9 @@ Background="{DynamicResource Brush.Window}" BorderBrush="{DynamicResource Brush.WindowBorder}" BorderThickness="1" - CornerRadius="8"> + CornerRadius="{TemplateBinding CornerRadius}"> - + +