From a095083fc76bc78cfb1f6d8af495461278d66a27 Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Thu, 13 Feb 2014 15:14:02 -0800 Subject: Fix zooming issues The window resize was causing issues as this was triggering a scroll change and the size we were rendering was tied to the window size. --- platform/winrt/gsview/MainWindow.xaml | 13 +++--- platform/winrt/gsview/MainWindow.xaml.cs | 74 ++++++++------------------------ 2 files changed, 26 insertions(+), 61 deletions(-) diff --git a/platform/winrt/gsview/MainWindow.xaml b/platform/winrt/gsview/MainWindow.xaml index fba0c0ce..a7f0cce1 100644 --- a/platform/winrt/gsview/MainWindow.xaml +++ b/platform/winrt/gsview/MainWindow.xaml @@ -5,7 +5,7 @@ - + @@ -398,7 +398,7 @@ Width="150" Orientation="Horizontal" HorizontalAlignment="Center" Value="100" Minimum="25" Maximum="400" SmallChange="1" LargeChange="1" - TickPlacement="None" TickFrequency="1" IsSnapToTickEnabled="True" MouseLeftButtonUp="ZoomReleased" PreviewMouseUp="Testing"/> + TickPlacement="None" TickFrequency="1" IsSnapToTickEnabled="True" MouseLeftButtonUp="ZoomReleased"/> @@ -414,7 +414,7 @@ - + - - - + + +