Skip to content

Commit

Permalink
Update CircularMenu.xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjinhuagood committed Aug 7, 2023
1 parent f25f623 commit 376a3c8
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/WPFDevelopers.Shared/Themes/CircularMenu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,26 +91,22 @@
x:Name="PART_Ellipse"
Width="100"
Height="100"
Fill="{StaticResource WD.PrimaryNormalSolidColorBrush}"
ToolTip="关闭" />
<Path
Fill="{StaticResource WD.PrimaryNormalSolidColorBrush}" />
<controls:PathIcon
x:Name="PART_Path"
Width="20"
Height="20"
Data="{StaticResource WD.AddGeometry}"
Fill="{StaticResource WD.BackgroundSolidColorBrush}"
IsHitTestVisible="False"
RenderTransformOrigin="0.5,0.5"
Stretch="Fill" />
Foreground="{StaticResource WD.BackgroundSolidColorBrush}"
Kind="Add"
RenderTransformOrigin="0.5,0.5" />
</controls:SmallPanel>
<ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="false">
<Trigger Property="IsChecked" Value="True">
<Setter TargetName="PART_Path" Property="RenderTransform">
<Setter.Value>
<RotateTransform Angle="45" />
</Setter.Value>
</Setter>
<Setter TargetName="PART_Ellipse" Property="ToolTip" Value="展开" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
Expand Down

0 comments on commit 376a3c8

Please sign in to comment.