Minor changes

This commit is contained in:
ClemensF 2017-08-16 21:27:12 +02:00
parent 3774bf2ed3
commit 0be26af38c
9 changed files with 32 additions and 29 deletions

View file

@ -18,9 +18,11 @@ namespace MapControl
: null);
}
protected void UpdateImage(BitmapSource bitmapSource)
protected void UpdateImage(ImageSource imageSource)
{
SetTopImage(bitmapSource);
SetTopImage(imageSource);
var bitmapSource = imageSource as BitmapSource;
if (bitmapSource != null && !bitmapSource.IsFrozen && bitmapSource.IsDownloading)
{