aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-11-27 16:56:43 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-11-27 16:56:43 +0200
commitf1fc087859a5839fb6c2b76fa083bd720b68bcc2 (patch)
tree8470ac79741f65f913e31771b544c61a87023423 /Software/Visual_Studio
parenta90c38d0e29cc3332affbfb3c0500b008f451334 (diff)
downloadTango-f1fc087859a5839fb6c2b76fa083bd720b68bcc2.tar.gz
Tango-f1fc087859a5839fb6c2b76fa083bd720b68bcc2.zip
Fixed issue in PPC dialogs..
Diffstat (limited to 'Software/Visual_Studio')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.xaml16
1 files changed, 9 insertions, 7 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.xaml b/Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.xaml
index 9f3d97862..92e838c1e 100644
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.xaml
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.xaml
@@ -84,7 +84,7 @@
</Grid>
<!--Dialogs-->
- <Grid Background="#9E000000">
+ <Grid>
<Grid.Style>
<Style TargetType="Grid">
<Setter Property="Opacity" Value="0"></Setter>
@@ -104,6 +104,14 @@
</Style>
</Grid.Style>
+ <Grid Background="#9E000000">
+ <i:Interaction.Triggers>
+ <i:EventTrigger EventName="MouseUp">
+ <i:InvokeCommandAction Command="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDialog.DataContext.CloseCommand}" />
+ </i:EventTrigger>
+ </i:Interaction.Triggers>
+ </Grid>
+
<Border Background="{StaticResource TangoPrimaryBackgroundBrush}" CornerRadius="5" Padding="10" HorizontalAlignment="Center" VerticalAlignment="Center">
<Border.Effect>
<DropShadowEffect BlurRadius="10" />
@@ -111,12 +119,6 @@
<ContentPresenter Content="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDialog}" />
</Border>
-
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="MouseUp">
- <i:InvokeCommandAction Command="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDialog.DataContext.CloseCommand}" />
- </i:EventTrigger>
- </i:Interaction.Triggers>
</Grid>
<!--Messages-->