Version 4.0.1: Fixed MapOverlay.

This commit is contained in:
ClemensF 2017-08-08 21:24:51 +02:00
parent 9f3b41cb0b
commit 3774bf2ed3
12 changed files with 64 additions and 93 deletions

View file

@ -28,8 +28,7 @@ namespace MapControl
}
else
{
Image.BeginAnimation(UIElement.OpacityProperty,
new DoubleAnimation { From = 0d, To = 1d, Duration = FadeDuration });
Image.BeginAnimation(UIElement.OpacityProperty, new DoubleAnimation { To = 1d, Duration = FadeDuration });
}
}
else
@ -47,8 +46,7 @@ namespace MapControl
bitmapImage.ImageOpened -= BitmapImageOpened;
bitmapImage.ImageFailed -= BitmapImageFailed;
Image.BeginAnimation(UIElement.OpacityProperty,
new DoubleAnimation { From = 0d, To = 1d, Duration = FadeDuration });
Image.BeginAnimation(UIElement.OpacityProperty, new DoubleAnimation { To = 1d, Duration = FadeDuration });
}
private void BitmapImageFailed(object sender, ExceptionRoutedEventArgs e)