summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8
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.WP8
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.WP8')
-rw-r--r--Xamarin.Forms.Platform.WP8/VisualElementTracker.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WP8/VisualElementTracker.cs b/Xamarin.Forms.Platform.WP8/VisualElementTracker.cs
index b206af58..509ffd44 100644
--- a/Xamarin.Forms.Platform.WP8/VisualElementTracker.cs
+++ b/Xamarin.Forms.Platform.WP8/VisualElementTracker.cs
@@ -275,6 +275,7 @@ namespace Xamarin.Forms.Platform.WinPhone
{
if (Model.IsInNativeLayout)
return;
+
var parent = (FrameworkElement)Element.Parent;
parent?.InvalidateMeasure();
Element.InvalidateMeasure();