From c7877824119e8f08f27abeaf467e7b9fc82770d3 Mon Sep 17 00:00:00 2001 From: ClemensF Date: Tue, 1 Sep 2020 10:55:55 +0200 Subject: [PATCH] Added AnimatableEx.UWP.cs --- MapControl/UWP/{Extensions.UWP.cs => AnimatableEx.UWP.cs} | 8 +------- MapControl/UWP/MapControl.UWP.csproj | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) rename MapControl/UWP/{Extensions.UWP.cs => AnimatableEx.UWP.cs} (88%) diff --git a/MapControl/UWP/Extensions.UWP.cs b/MapControl/UWP/AnimatableEx.UWP.cs similarity index 88% rename from MapControl/UWP/Extensions.UWP.cs rename to MapControl/UWP/AnimatableEx.UWP.cs index 198b5ff0..16cc3226 100644 --- a/MapControl/UWP/Extensions.UWP.cs +++ b/MapControl/UWP/AnimatableEx.UWP.cs @@ -3,18 +3,12 @@ // Licensed under the Microsoft Public License (Ms-PL) using Windows.UI.Xaml; -using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Animation; namespace MapControl { - internal static class Extensions + internal static class AnimatableEx { - public static Point Transform(this GeneralTransform transform, Point point) - { - return transform.TransformPoint(point); - } - public static void BeginAnimation(this DependencyObject obj, DependencyProperty property, Timeline animation) { if (animation != null) diff --git a/MapControl/UWP/MapControl.UWP.csproj b/MapControl/UWP/MapControl.UWP.csproj index 3081940f..ec20050a 100644 --- a/MapControl/UWP/MapControl.UWP.csproj +++ b/MapControl/UWP/MapControl.UWP.csproj @@ -182,7 +182,7 @@ WorldMercatorProjection.cs - +