summaryrefslogtreecommitdiff
path: root/winrt/mupdf_cpp/MainPage.xaml
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-05-07 23:09:29 -0700
committerRobin Watts <robin.watts@artifex.com>2013-05-16 19:25:50 +0100
commit085eae5dfc8086694f0ae703a843e8d92db38abe (patch)
tree7fdd7c835e01e7ccde3fefd99daf337f7b626705 /winrt/mupdf_cpp/MainPage.xaml
parente26c2d8a535f163348c4e50ccffd4125082df393 (diff)
downloadmupdf-085eae5dfc8086694f0ae703a843e8d92db38abe.tar.xz
Rework of background task set up for rendering the thumbnails of the pages in the background.
these are stored and swapped in and out of the page collection that is viewed as the user goes through the flip view. had some issues with respect to getting the background tasks shut down and mupdf cleaned up when someone opens a new file. that is now all resolved. This all simplified the code significantly.
Diffstat (limited to 'winrt/mupdf_cpp/MainPage.xaml')
-rw-r--r--winrt/mupdf_cpp/MainPage.xaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml b/winrt/mupdf_cpp/MainPage.xaml
index b9af3dd9..abaf7d36 100644
--- a/winrt/mupdf_cpp/MainPage.xaml
+++ b/winrt/mupdf_cpp/MainPage.xaml
@@ -14,7 +14,7 @@
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
- <Slider x:Name="xaml_PageSlider" Minimum="0" Maximum="10" ValueChanged="Slider_ValueChanged" LostFocus="Slider_Released" Grid.Column="0" Margin="10,0" VerticalAlignment="Center" />
+ <Slider x:Name="xaml_PageSlider" Minimum="0" Maximum="10" ValueChanged="Slider_ValueChanged" Grid.Column="0" Margin="10,0" VerticalAlignment="Center" />
<Button x:Name="Find_File" Style="{StaticResource OpenFileAppBarButtonStyle}" Tag="OpenFile" HorizontalAlignment="Right" Grid.Column="1" Click="Picker"/>
</Grid>
</AppBar>