From 3a414a7a6abaf8ae30e431079c6961f18a6a009d Mon Sep 17 00:00:00 2001 From: ClemensF Date: Mon, 1 Feb 2016 17:37:33 +0100 Subject: [PATCH] Fixed missing Action --- MapControl/MapBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/MapBase.cs b/MapControl/MapBase.cs index e54b2956..2cb15972 100644 --- a/MapControl/MapBase.cs +++ b/MapControl/MapBase.cs @@ -736,7 +736,7 @@ namespace MapControl InternalSetValue(ZoomLevelProperty, TargetZoomLevel); RemoveAnimation(ZoomLevelProperty); // remove holding animation in WPF - Dispatcher.BeginInvoke(() => UpdateTransform(true)); + Dispatcher.BeginInvoke(new Action(() => UpdateTransform(true))); } }