Skip to content

Commit 05cf2f3

Browse files
committed
Update CropAvatar.xaml
1 parent 47ab849 commit 05cf2f3

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

src/WPFDevelopers.Shared/Themes/CropAvatar.xaml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
HorizontalAlignment="Right"
4646
VerticalAlignment="Top"
4747
Style="{StaticResource WD.PathButton}"
48-
ToolTip="更换图片"
4948
Visibility="Collapsed">
5049
<controls:PathIcon
5150
Width="15"
@@ -57,20 +56,12 @@
5756
x:Name="PART_AddButton"
5857
Width="40"
5958
Height="40"
60-
Style="{StaticResource WD.PathButton}"
61-
ToolTip="选择图片">
62-
<Path
59+
Style="{StaticResource WD.PathButton}">
60+
<controls:PathIcon
6361
Width="20"
6462
Height="20"
65-
Data="{StaticResource WD.AddGeometry}"
66-
Fill="{StaticResource WD.PrimaryNormalSolidColorBrush}"
67-
IsHitTestVisible="False"
68-
RenderTransformOrigin="0.5,0.5"
69-
Stretch="Fill">
70-
<Path.RenderTransform>
71-
<RotateTransform Angle="45" />
72-
</Path.RenderTransform>
73-
</Path>
63+
Foreground="{StaticResource WD.PrimaryNormalSolidColorBrush}"
64+
Kind="Add" />
7465
</Button>
7566
</controls:SmallPanel>
7667
</Canvas>

0 commit comments

Comments
 (0)