summaryrefslogtreecommitdiff
path: root/platform/winrt/gsview
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2014-07-26 12:06:26 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2014-09-09 16:39:40 -0700
commitaa39972b466b169c6bec1c5448d8407711cc0475 (patch)
tree616f9ec54c06124268a60930d0fb38a3474d9ce2 /platform/winrt/gsview
parentec57957ef4c1cf8c9c8a38f566a6580776ae286c (diff)
downloadmupdf-aa39972b466b169c6bec1c5448d8407711cc0475.tar.xz
Minor addition to allow Page Up/Down to do previous/next page.
Diffstat (limited to 'platform/winrt/gsview')
-rw-r--r--platform/winrt/gsview/MainWindow.xaml.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/winrt/gsview/MainWindow.xaml.cs b/platform/winrt/gsview/MainWindow.xaml.cs
index c61ff135..b4a1fb6d 100644
--- a/platform/winrt/gsview/MainWindow.xaml.cs
+++ b/platform/winrt/gsview/MainWindow.xaml.cs
@@ -1131,6 +1131,7 @@ namespace gsview
switch (e.Key)
{
case Key.Left:
+ case Key.PageUp:
if (m_currpage == 0 || !m_init_done)
return;
m_ignorescrollchange = true;
@@ -1139,6 +1140,7 @@ namespace gsview
break;
case Key.Right:
+ case Key.PageDown:
if (m_currpage == m_num_pages - 1 || !m_init_done)
return;
m_ignorescrollchange = true;