From 95cf4bf4233d2409c85650c5c87f6f0f5cf928fa Mon Sep 17 00:00:00 2001 From: chinboy Date: Fri, 11 Sep 2026 11:37:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(Window):=20=E4=BF=AE=E5=A4=8D=E5=85=A8?= =?UTF-8?q?=E5=B1=8F=E6=A0=87=E9=A2=98=E6=A0=8F=20Logo=20=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E6=8C=82=E8=BD=BD=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Themes/FullscreenPopoverLayerTheme.axaml | 4 +- .../Themes/WindowDrawnDecorationsTheme.axaml | 6 +- src/AtomUI.Desktop.Controls/Window/Window.cs | 53 +++++++++++++- .../Themes/WindowTitleBarTheme.axaml | 12 +-- .../WindowTitleBar/WindowTitleBar.cs | 50 ++++++++++++- .../Window/WindowResizeArtifactTests.cs | 13 ++++ .../WindowTitleBarEffectiveLogoTests.cs | 73 ++++++++++++++++++- .../WindowTitleBarLogoVisibilityTests.cs | 16 +++- 8 files changed, 210 insertions(+), 17 deletions(-) diff --git a/src/AtomUI.Desktop.Controls/Window/Themes/FullscreenPopoverLayerTheme.axaml b/src/AtomUI.Desktop.Controls/Window/Themes/FullscreenPopoverLayerTheme.axaml index 4cb113d9c..fffd55e83 100644 --- a/src/AtomUI.Desktop.Controls/Window/Themes/FullscreenPopoverLayerTheme.axaml +++ b/src/AtomUI.Desktop.Controls/Window/Themes/FullscreenPopoverLayerTheme.axaml @@ -35,8 +35,8 @@ VerticalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" - Content="{Binding $parent[atom:Window].EffectiveLogo}" - ContentTemplate="{Binding $parent[atom:Window].EffectiveLogoTemplate}" + Content="{Binding $parent[atom:Window].EffectiveFullscreenLogo}" + ContentTemplate="{Binding $parent[atom:Window].EffectiveFullscreenLogoTemplate}" IsVisible="{Binding $parent[atom:Window].IsEffectiveFullscreenLogoVisible}"/> -