summaryrefslogtreecommitdiff
path: root/winrt/mupdf_cpp
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-06-14 13:28:43 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2013-06-14 13:47:38 -0700
commitd0cb485b522f8776d4c0faee82bb1af8420af6a4 (patch)
treec9552d3c1c4e950f84f45eeebb633caa710da1d6 /winrt/mupdf_cpp
parent08b6fc12487eddbcbf1c445489e22426252b94da (diff)
downloadmupdf-d0cb485b522f8776d4c0faee82bb1af8420af6a4.tar.xz
Missing update for slider when page is already rendered.
Diffstat (limited to 'winrt/mupdf_cpp')
-rw-r--r--winrt/mupdf_cpp/MainPage.xaml.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml.cpp b/winrt/mupdf_cpp/MainPage.xaml.cpp
index 4c1095bf..514cf27b 100644
--- a/winrt/mupdf_cpp/MainPage.xaml.cpp
+++ b/winrt/mupdf_cpp/MainPage.xaml.cpp
@@ -760,6 +760,10 @@ void mupdf_cpp::MainPage::Slider_ValueChanged(Platform::Object^ sender, Windows:
this->m_curr_flipView->SelectedIndex = newValue;
}, task_continuation_context::use_current());
}
+ else
+ {
+ this->m_curr_flipView->SelectedIndex = newValue;
+ }
}
}