Explorar el Código

set transparency fallback based on theme.

Dan Walmsley hace 5 años
padre
commit
9d3ef2de31
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/Avalonia.Themes.Fluent/Window.xaml

+ 2 - 1
src/Avalonia.Themes.Fluent/Window.xaml

@@ -1,5 +1,6 @@
 <Style xmlns="https://github.com/avaloniaui" Selector="Window">
-  <Setter Property="Background" Value="{DynamicResource SystemControlBackgroundChromeMediumBrush}"/>
+  <Setter Property="Background" Value="{DynamicResource SystemControlBackgroundChromeBlackHighBrush}"/>
+  <Setter Property="TransparencyBackgroundFallback" Value="{DynamicResource SystemControlBackgroundChromeBlackHighBrush}"/>
   <Setter Property="Foreground" Value="{DynamicResource ThemeForegroundBrush}"/>
   <Setter Property="FontSize" Value="{DynamicResource FontSizeNormal}"/>
   <Setter Property="Template">