mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-01 14:20:12 +01:00
Fixed ZoomLevelAnimationCompleted method.
This commit is contained in:
parent
3a414a7a6a
commit
ea541225b5
|
|
@ -1,5 +1,5 @@
|
|||
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
|
||||
// © 2015 Clemens Fischer
|
||||
// © 2016 Clemens Fischer
|
||||
// Licensed under the Microsoft Public License (Ms-PL)
|
||||
|
||||
using System;
|
||||
|
|
@ -735,8 +735,7 @@ namespace MapControl
|
|||
|
||||
InternalSetValue(ZoomLevelProperty, TargetZoomLevel);
|
||||
RemoveAnimation(ZoomLevelProperty); // remove holding animation in WPF
|
||||
|
||||
Dispatcher.BeginInvoke(new Action(() => UpdateTransform(true)));
|
||||
UpdateTransform(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue