Skip to content

Commit

Permalink
Update CropAvatar.xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjinhuagood committed Aug 7, 2023
1 parent 47ab849 commit 05cf2f3
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions src/WPFDevelopers.Shared/Themes/CropAvatar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
HorizontalAlignment="Right"
VerticalAlignment="Top"
Style="{StaticResource WD.PathButton}"
ToolTip="更换图片"
Visibility="Collapsed">
<controls:PathIcon
Width="15"
Expand All @@ -57,20 +56,12 @@
x:Name="PART_AddButton"
Width="40"
Height="40"
Style="{StaticResource WD.PathButton}"
ToolTip="选择图片">
<Path
Style="{StaticResource WD.PathButton}">
<controls:PathIcon
Width="20"
Height="20"
Data="{StaticResource WD.AddGeometry}"
Fill="{StaticResource WD.PrimaryNormalSolidColorBrush}"
IsHitTestVisible="False"
RenderTransformOrigin="0.5,0.5"
Stretch="Fill">
<Path.RenderTransform>
<RotateTransform Angle="45" />
</Path.RenderTransform>
</Path>
Foreground="{StaticResource WD.PrimaryNormalSolidColorBrush}"
Kind="Add" />
</Button>
</controls:SmallPanel>
</Canvas>
Expand Down

0 comments on commit 05cf2f3

Please sign in to comment.