From 44c6ccdd6bbd881b4054b6542d2a07572e7ec326 Mon Sep 17 00:00:00 2001 From: "Marko B. Ludolph" Date: Fri, 11 Aug 2017 00:23:46 +0200 Subject: [macOS] Autolayout Engine Exception Fix (#1048) --- Xamarin.Forms.Platform.iOS/VisualElementTracker.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Xamarin.Forms.Platform.iOS') diff --git a/Xamarin.Forms.Platform.iOS/VisualElementTracker.cs b/Xamarin.Forms.Platform.iOS/VisualElementTracker.cs index 205aa1de..5c84b991 100644 --- a/Xamarin.Forms.Platform.iOS/VisualElementTracker.cs +++ b/Xamarin.Forms.Platform.iOS/VisualElementTracker.cs @@ -244,10 +244,14 @@ namespace Xamarin.Forms.Platform.MacOS caLayer.Transform = transform; }; +#if __MOBILE__ if (thread) CADisplayLinkTicker.Default.Invoke(update); else update(); +#else + update(); +#endif _lastBounds = view.Bounds; #if !__MOBILE__ -- cgit v1.2.3