Minor cleanup in TileImageLoader

This commit is contained in:
ClemensF 2020-09-25 15:02:41 +02:00
parent ee4f049334
commit f5acb5f908
6 changed files with 13 additions and 28 deletions

View file

@ -16,7 +16,7 @@ namespace MapControl
{
Pending = false;
if (fadeIn && MapBase.ImageFadeDuration > TimeSpan.Zero)
if (image != null && fadeIn && MapBase.ImageFadeDuration > TimeSpan.Zero)
{
if (image is BitmapImage bitmap && bitmap.UriSource != null)
{