diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-27 16:56:43 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-27 16:56:43 +0200 |
| commit | f1fc087859a5839fb6c2b76fa083bd720b68bcc2 (patch) | |
| tree | 8470ac79741f65f913e31771b544c61a87023423 /Software/Visual_Studio | |
| parent | a90c38d0e29cc3332affbfb3c0500b008f451334 (diff) | |
| download | Tango-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.xaml | 16 |
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--> |
