summaryrefslogtreecommitdiff
path: root/platform/winrt/gsview/MainWindow.xaml
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2014-03-20 11:54:03 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2014-09-09 16:39:33 -0700
commit67a1b4e6cf4b45059b32de420892bf9d90c01042 (patch)
treecf283df06579b6299d53a027e77adb9cbbe65033 /platform/winrt/gsview/MainWindow.xaml
parent7e24e989fbc54d16a8ca3171f1795b158c888aca (diff)
downloadmupdf-67a1b4e6cf4b45059b32de420892bf9d90c01042.tar.xz
Initial work toward getting link navigation in place for gsview.
Also several fixes to the navigation of pages and managing thumbnail replacement of pages that are out of view.
Diffstat (limited to 'platform/winrt/gsview/MainWindow.xaml')
-rw-r--r--platform/winrt/gsview/MainWindow.xaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/winrt/gsview/MainWindow.xaml b/platform/winrt/gsview/MainWindow.xaml
index 959e4eb0..55424d1a 100644
--- a/platform/winrt/gsview/MainWindow.xaml
+++ b/platform/winrt/gsview/MainWindow.xaml
@@ -49,7 +49,7 @@
</ItemsControl.ItemContainerStyle>
<ItemsControl.ItemTemplate>
<DataTemplate>
- <Rectangle Tag="{Binding Path=Index}" Width="{Binding Path=Width}" Height="{Binding Path=Height}" Fill="{Binding Path=Color}">
+ <Rectangle Tag="{Binding Path=Index}" Width="{Binding Path=Width}" Height="{Binding Path=Height}" Fill="{Binding Path=Color}" IsEnabled="True" MouseDown="LinkClick">
<Rectangle.RenderTransform>
<TranslateTransform X="{Binding Path=X}" Y="{Binding Path=Y}"/>
</Rectangle.RenderTransform>
@@ -557,7 +557,7 @@
ScrollViewer.CanContentScroll="False"
Background="DarkGray" ScrollViewer.PanningMode="Both"
ScrollViewer.ScrollChanged="ListViewScrollChanged"
- PreviewMouseLeftButtonUp="PageSelected" MouseDoubleClick="PageDoubleClick"
+ MouseDoubleClick="PageDoubleClick"
>
<!-- This keeps the pages in the center of the panel -->
<ListView.ItemContainerStyle>