Added AnimatableEx.UWP.cs

This commit is contained in:
ClemensF 2020-09-01 10:55:55 +02:00
parent 58ba1328c6
commit c787782411
2 changed files with 2 additions and 8 deletions

View file

@ -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)

View file

@ -182,7 +182,7 @@
<Compile Include="..\Shared\WorldMercatorProjection.cs">
<Link>WorldMercatorProjection.cs</Link>
</Compile>
<Compile Include="Extensions.UWP.cs" />
<Compile Include="AnimatableEx.UWP.cs" />
<Compile Include="ImageCache.UWP.cs" />
<Compile Include="ImageFileCache.UWP.cs" />
<Compile Include="Map.UWP.cs" />