aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-11-05 15:17:41 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-11-05 15:17:41 +0200
commitd7650679fedebb42e5fa9d4d482d7ccf657d6ab4 (patch)
treec493dbbd56e2e3bf1260a21969e23ddaf787f375 /Software/Visual_Studio/PPC/Tango.PPC.UI
parent4c63f73496fc60026da9e363b3e85042733b4423 (diff)
parentf4f22e7088b672797e3e95f5a5fb5a96651c861e (diff)
downloadTango-d7650679fedebb42e5fa9d4d482d7ccf657d6ab4.tar.gz
Tango-d7650679fedebb42e5fa9d4d482d7ccf657d6ab4.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml9
1 files changed, 2 insertions, 7 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml
index 890d3863b..586fa987b 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml
@@ -238,15 +238,10 @@
<touch:TouchNotificationBar.NotificationTemplate>
<DataTemplate>
<components:Ripple Padding="0">
- <Grid Background="Transparent">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="PreviewMouseUp">
- <i:InvokeCommandAction Command="{Binding PressedCommand}" />
- </i:EventTrigger>
- </i:Interaction.Triggers>
+ <touch:TouchClickableControl Command="{Binding PressedCommand}">
<ContentControl Content="{Binding Converter={StaticResource ItemBaseConverter}}"/>
<touch:TouchIconButton Visibility="{Binding CanClose,Converter={StaticResource BooleanToVisibilityConverter}}" DockPanel.Dock="Right" Background="Transparent" Padding="35" Style="{StaticResource TangoRoundTouchIconButton}" Command="{Binding CloseCommand}" CommandParameter="{Binding}" HorizontalAlignment="Right" MaxHeight="90" Width="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}" Icon="Close" Foreground="{StaticResource TangoDarkForegroundBrush}" />
- </Grid>
+ </touch:TouchClickableControl>
</components:Ripple>
</DataTemplate>
</touch:TouchNotificationBar.NotificationTemplate>