From 3fd209f180efb11045afa9028aab77f2cd45f2b9 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Wed, 22 Mar 2023 10:54:01 +0800 Subject: [PATCH] fix: fix dropdownbutton glyph color. --- src/Semi.Avalonia/Controls/DropdownButton.axaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Semi.Avalonia/Controls/DropdownButton.axaml b/src/Semi.Avalonia/Controls/DropdownButton.axaml index 235b90b..f575a00 100644 --- a/src/Semi.Avalonia/Controls/DropdownButton.axaml +++ b/src/Semi.Avalonia/Controls/DropdownButton.axaml @@ -44,7 +44,7 @@ HorizontalAlignment="Right" VerticalAlignment="Center" Data="{DynamicResource DropdownButtonIconGlyph}" - Foreground="{DynamicResource ComboBoxDropDownGlyphForeground}" + Foreground="{TemplateBinding Foreground}" IsHitTestVisible="False" UseLayoutRounding="False" /> @@ -137,7 +137,7 @@ HorizontalAlignment="Right" VerticalAlignment="Center" Data="{DynamicResource DropdownButtonIconGlyph}" - Foreground="{DynamicResource ComboBoxDropDownGlyphForeground}" + Foreground="{TemplateBinding Foreground}" IsHitTestVisible="False" UseLayoutRounding="False" />