diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2013-06-14 13:28:43 -0700 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2013-06-14 13:47:38 -0700 |
commit | d0cb485b522f8776d4c0faee82bb1af8420af6a4 (patch) | |
tree | c9552d3c1c4e950f84f45eeebb633caa710da1d6 | |
parent | 08b6fc12487eddbcbf1c445489e22426252b94da (diff) | |
download | mupdf-d0cb485b522f8776d4c0faee82bb1af8420af6a4.tar.xz |
Missing update for slider when page is already rendered.
-rw-r--r-- | winrt/mupdf_cpp/MainPage.xaml.cpp | 4 |
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; + } } } |