From d0cb485b522f8776d4c0faee82bb1af8420af6a4 Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Fri, 14 Jun 2013 13:28:43 -0700 Subject: Missing update for slider when page is already rendered. --- winrt/mupdf_cpp/MainPage.xaml.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'winrt/mupdf_cpp') 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; + } } } -- cgit v1.2.3