Skip to content

Commit

Permalink
Remove send signal animation
Browse files Browse the repository at this point in the history
  • Loading branch information
deviousasti committed Mar 3, 2020
1 parent 827f0ca commit fb848b3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
<EasingColorKeyFrame KeyTime="0:0:0.2" Value="Black"/>
</ColorAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Key="OnSendFlash">
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="bggrid">
<EasingColorKeyFrame KeyTime="0" Value="#FFCEE484"/>
<EasingColorKeyFrame KeyTime="0:0:0.25" Value="#FFF" />
<DiscreteColorKeyFrame KeyTime="0:0:0.26" Value="Transparent" />
</ColorAnimationUsingKeyFrames>
</Storyboard>
</Window.Resources>
<Window.Triggers>
<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="heart_button">
Expand Down Expand Up @@ -138,11 +131,6 @@
<TextBlock Text="{Binding Text}" Foreground="{StaticResource SentFg}" Grid.Column="1" />
<TextBlock Text="{Binding RelativeTimestamp}" ToolTip="{Binding FullTimestamp}" Grid.Column="2" Style="{StaticResource Timestamp}"/>
</Grid>
<DataTemplate.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
<BeginStoryboard x:Name="OnSendFlash_BeginStoryboard" Storyboard="{StaticResource OnSendFlash}"/>
</EventTrigger>
</DataTemplate.Triggers>
</DataTemplate>

<DataTemplate DataType="{x:Type local:ReceiveEvent}">
Expand Down

0 comments on commit fb848b3

Please sign in to comment.