summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT
diff options
context:
space:
mode:
authorBradChase2011 <brchase07@yahoo.com>2017-03-09 13:39:27 -0500
committerRui Marinho <me@ruimarinho.net>2017-03-09 18:39:27 +0000
commit87f0bfa2e1b89f2e8f2d53eb902ea5723dcabccf (patch)
tree33287943a0c8b2dfda1008c8f799f51240fa1fc9 /Xamarin.Forms.Platform.WinRT
parentb9b9d2536ff0cd6ae4526356d663706c721e481f (diff)
downloadxamarin-forms-87f0bfa2e1b89f2e8f2d53eb902ea5723dcabccf.tar.gz
xamarin-forms-87f0bfa2e1b89f2e8f2d53eb902ea5723dcabccf.tar.bz2
xamarin-forms-87f0bfa2e1b89f2e8f2d53eb902ea5723dcabccf.zip
Fixed a redundant check that caused a massive slowdown on UWP. (#788)
* Fixed a redundant check that caused a massive slowdown on UWP. * Fixed formatting. * Fixed formatting. * UWP_UI_Speed_Fix Last time on tabbing, lets hope so!
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT')
-rw-r--r--Xamarin.Forms.Platform.WinRT/VisualElementTracker.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/VisualElementTracker.cs b/Xamarin.Forms.Platform.WinRT/VisualElementTracker.cs
index e8684ff4..a29d61ad 100644
--- a/Xamarin.Forms.Platform.WinRT/VisualElementTracker.cs
+++ b/Xamarin.Forms.Platform.WinRT/VisualElementTracker.cs
@@ -275,6 +275,7 @@ namespace Xamarin.Forms.Platform.WinRT
{
if (Element.IsInNativeLayout)
return;
+
var parent = (FrameworkElement)Container.Parent;
parent?.InvalidateMeasure();
Container.InvalidateMeasure();