diff options
author | Marko B. Ludolph <MarkoBL@users.noreply.github.com> | 2017-08-11 00:23:46 +0200 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-08-10 23:23:46 +0100 |
commit | 44c6ccdd6bbd881b4054b6542d2a07572e7ec326 (patch) | |
tree | f3056dec52fdc7f67bf1c66ce6c0bf1eb08e3d60 /Xamarin.Forms.Platform.iOS/VisualElementTracker.cs | |
parent | f37851c5ed4d40343d5193411b47fefe6b0182d3 (diff) | |
download | xamarin-forms-44c6ccdd6bbd881b4054b6542d2a07572e7ec326.tar.gz xamarin-forms-44c6ccdd6bbd881b4054b6542d2a07572e7ec326.tar.bz2 xamarin-forms-44c6ccdd6bbd881b4054b6542d2a07572e7ec326.zip |
[macOS] Autolayout Engine Exception Fix (#1048)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/VisualElementTracker.cs')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/VisualElementTracker.cs | 4 |
1 files changed, 4 insertions, 0 deletions
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__ |