From 12fa653ca2f8daed5244918de29c1a0af3c0d326 Mon Sep 17 00:00:00 2001 From: robloo Date: Sun, 26 Mar 2023 10:22:08 -0400 Subject: [PATCH] Use Transparent background in ColorPreviewer so DropShadow appears This addresses #10539. Drop shadow for now requires the Background to be set in order to work correctly. --- .../Themes/Fluent/ColorPreviewer.xaml | 1 + .../Themes/Simple/ColorPreviewer.xaml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Avalonia.Controls.ColorPicker/Themes/Fluent/ColorPreviewer.xaml b/src/Avalonia.Controls.ColorPicker/Themes/Fluent/ColorPreviewer.xaml index 3a88d25ef1..e05fa5a907 100644 --- a/src/Avalonia.Controls.ColorPicker/Themes/Fluent/ColorPreviewer.xaml +++ b/src/Avalonia.Controls.ColorPicker/Themes/Fluent/ColorPreviewer.xaml @@ -64,6 +64,7 @@ diff --git a/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorPreviewer.xaml b/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorPreviewer.xaml index 0e51a0519a..a39dd91f52 100644 --- a/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorPreviewer.xaml +++ b/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorPreviewer.xaml @@ -64,6 +64,7 @@