Skip to content

Commit 376a3c8

Browse files
committed
Update CircularMenu.xaml
1 parent f25f623 commit 376a3c8

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/WPFDevelopers.Shared/Themes/CircularMenu.xaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,26 +91,22 @@
9191
x:Name="PART_Ellipse"
9292
Width="100"
9393
Height="100"
94-
Fill="{StaticResource WD.PrimaryNormalSolidColorBrush}"
95-
ToolTip="关闭" />
96-
<Path
94+
Fill="{StaticResource WD.PrimaryNormalSolidColorBrush}" />
95+
<controls:PathIcon
9796
x:Name="PART_Path"
9897
Width="20"
9998
Height="20"
100-
Data="{StaticResource WD.AddGeometry}"
101-
Fill="{StaticResource WD.BackgroundSolidColorBrush}"
102-
IsHitTestVisible="False"
103-
RenderTransformOrigin="0.5,0.5"
104-
Stretch="Fill" />
99+
Foreground="{StaticResource WD.BackgroundSolidColorBrush}"
100+
Kind="Add"
101+
RenderTransformOrigin="0.5,0.5" />
105102
</controls:SmallPanel>
106103
<ControlTemplate.Triggers>
107-
<Trigger Property="IsChecked" Value="false">
104+
<Trigger Property="IsChecked" Value="True">
108105
<Setter TargetName="PART_Path" Property="RenderTransform">
109106
<Setter.Value>
110107
<RotateTransform Angle="45" />
111108
</Setter.Value>
112109
</Setter>
113-
<Setter TargetName="PART_Ellipse" Property="ToolTip" Value="展开" />
114110
</Trigger>
115111
</ControlTemplate.Triggers>
116112
</ControlTemplate>

0 commit comments

Comments
 (0)