diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-04-11 11:20:26 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-04-11 11:20:26 +0300 |
| commit | 588f2ed42de677c7e22b1c34c61568fe10098282 (patch) | |
| tree | 043587200f23c861b8430ab903dfaf8176320a6c /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views | |
| parent | f4a6e8584e0e863515398ddb57fcfc545e425c87 (diff) | |
| parent | f052b13f288eec8f403536d40ed4cb4a4a38f5f9 (diff) | |
| download | Tango-588f2ed42de677c7e22b1c34c61568fe10098282.tar.gz Tango-588f2ed42de677c7e22b1c34c61568fe10098282.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml index 4ce76d6e4..030e26898 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml @@ -465,8 +465,27 @@ <DataTrigger Binding="{Binding EventType.RequiresUserIntervention}" Value="True"> <Setter Property="Content"> <Setter.Value> - <Button Style="{StaticResource emptyButton}" Cursor="Hand" Margin="5" Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.ResolveMachineEventCommand}" CommandParameter="{Binding}"> - <materialDesign:PackIcon Kind="TelevisionGuide" Width="24" Height="24" /> + <Button ToolTip="Resolve issue" Style="{StaticResource emptyButton}" Cursor="Hand" Margin="5" Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.ResolveMachineEventCommand}" CommandParameter="{Binding}"> + <Image Source="/Images/settings.png" Width="24"> + <Image.Style> + <Style TargetType="Image"> + <Style.Triggers> + <EventTrigger RoutedEvent="Loaded"> + <EventTrigger.Actions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Duration="00:00:01" RepeatBehavior="Forever"> + <DiscreteDoubleKeyFrame KeyTime="00:00:00" Value="1" /> + <DiscreteDoubleKeyFrame KeyTime="00:00:0.5" Value="0" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </BeginStoryboard> + </EventTrigger.Actions> + </EventTrigger> + </Style.Triggers> + </Style> + </Image.Style> + </Image> </Button> </Setter.Value> </Setter> |
