From ecbf92cf290492c7d872a1fdff33110bd7b1241e Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Thu, 2 Jul 2020 15:29:02 -0300 Subject: [PATCH] fix dark theme in control catalog --- samples/ControlCatalog/MainWindow.xaml | 3 ++- src/Avalonia.Themes.Fluent/CaptionButtons.xaml | 3 +-- src/Avalonia.Themes.Fluent/Window.xaml | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/samples/ControlCatalog/MainWindow.xaml b/samples/ControlCatalog/MainWindow.xaml index 121878423a..f95564f8a0 100644 --- a/samples/ControlCatalog/MainWindow.xaml +++ b/samples/ControlCatalog/MainWindow.xaml @@ -11,6 +11,7 @@ ExtendClientAreaChromeHints="{Binding ChromeHints}" ExtendClientAreaTitleBarHeightHint="{Binding TitleBarHeight}" TransparencyLevelHint="{Binding TransparencyLevel}" + TransparencyBackgroundFallback="Transparent" x:Name="MainWindow" x:Class="ControlCatalog.MainWindow" WindowState="{Binding WindowState, Mode=TwoWay}" Background="{x:Null}"> @@ -68,7 +69,7 @@ - + diff --git a/src/Avalonia.Themes.Fluent/CaptionButtons.xaml b/src/Avalonia.Themes.Fluent/CaptionButtons.xaml index 68249905a1..f288372b77 100644 --- a/src/Avalonia.Themes.Fluent/CaptionButtons.xaml +++ b/src/Avalonia.Themes.Fluent/CaptionButtons.xaml @@ -1,6 +1,5 @@ -