Skip to content

Commit

Permalink
Update AnimationAudio.xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjinhuagood committed Aug 4, 2023
1 parent 8898b91 commit ce64bc0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/WPFDevelopers.Shared/Themes/AnimationAudio.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
<ControlTemplate TargetType="{x:Type controls:AnimationAudio}">
<ControlTemplate.Resources>
<Storyboard x:Key="PlayStoryboard" RepeatBehavior="Forever">
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="WD.AudioTwoGeometry" Storyboard.TargetProperty="(Path.Visibility)">
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Path2" Storyboard.TargetProperty="(Path.Visibility)">
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Hidden}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PathAudioThree" Storyboard.TargetProperty="(Path.Visibility)">
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Path3" Storyboard.TargetProperty="(Path.Visibility)">
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Hidden}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
BeginTime="0:0:.3"
Storyboard.TargetName="WD.AudioTwoGeometry"
Storyboard.TargetName="PART_Path2"
Storyboard.TargetProperty="(Path.Visibility)"
Duration="0:0:.4">
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Visible}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
BeginTime="0:0:.7"
Storyboard.TargetName="PathAudioThree"
Storyboard.TargetName="PART_Path3"
Storyboard.TargetProperty="(Path.Visibility)"
Duration="0:0:.4">
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Visible}" />
Expand Down Expand Up @@ -68,7 +68,7 @@
Fill="{TemplateBinding Foreground}"
Stretch="Fill" />
<Path
x:Name="PathAudioTwo"
x:Name="PART_Path2"
Width="6"
Margin="0,7"
Data="{StaticResource WD.AudioTwoGeometry}"
Expand All @@ -77,7 +77,7 @@
Stroke="Transparent"
StrokeThickness="1.5" />
<Path
x:Name="PathAudioThree"
x:Name="PART_Path3"
Width="8"
Margin="-3,4"
Data="{StaticResource WD.AudioThreeGeometry}"
Expand Down

0 comments on commit ce64bc0

Please sign in to comment.