From 8dab69663f649d75312e23ba173374d931f933b0 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Tue, 18 Oct 2022 00:42:48 +0800 Subject: [PATCH 1/3] fix: fix caption button fluent theme and default theme. --- .../Controls/CaptionButtons.xaml | 10 +++++----- .../Controls/CaptionButtons.xaml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml b/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml index c91e008e02..e06fa0c8d4 100644 --- a/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml +++ b/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml @@ -41,7 +41,7 @@ Theme="{StaticResource FluentCaptionButton}" IsVisible="False"> - @@ -61,7 +61,7 @@ - @@ -80,17 +80,17 @@ - - - diff --git a/src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml b/src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml index 379b92ea17..1badffef33 100644 --- a/src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml +++ b/src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml @@ -47,7 +47,7 @@ Theme="{StaticResource SimpleCaptionButton}"> - @@ -69,7 +69,7 @@ - @@ -89,17 +89,17 @@ - - - From 3184252633e0c7828c340eacf57920ecbda230ad Mon Sep 17 00:00:00 2001 From: rabbitism Date: Tue, 18 Oct 2022 01:24:35 +0800 Subject: [PATCH 2/3] fix: revert FullScreenButtonPath. --- src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml | 4 ++-- src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml b/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml index e06fa0c8d4..3b1071b36a 100644 --- a/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml +++ b/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml @@ -41,7 +41,7 @@ Theme="{StaticResource FluentCaptionButton}" IsVisible="False"> - @@ -83,7 +83,7 @@ - diff --git a/src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml b/src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml index 1badffef33..8c263d0231 100644 --- a/src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml +++ b/src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml @@ -47,7 +47,7 @@ Theme="{StaticResource SimpleCaptionButton}"> - @@ -92,7 +92,7 @@ - From 2f124a9a480e8a20373531d4e605d096572fc669 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Tue, 18 Oct 2022 01:31:08 +0800 Subject: [PATCH 3/3] fix: align with naming convention. --- src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml | 4 ++-- src/Avalonia.Themes.Simple/Controls/CaptionButtons.xaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml b/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml index 3b1071b36a..71ae012289 100644 --- a/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml +++ b/src/Avalonia.Themes.Fluent/Controls/CaptionButtons.xaml @@ -61,7 +61,7 @@ - @@ -80,7 +80,7 @@ -