Update Tile.WPF.cs

This commit is contained in:
ClemensFischer 2025-05-23 17:24:29 +02:00
parent aae473025e
commit 367d54037f

View file

@ -23,7 +23,7 @@ namespace MapControl
private void FadeIn() private void FadeIn()
{ {
if (Image.Source is BitmapSource bitmap && bitmap.IsDownloading && !bitmap.IsFrozen) if (Image.Source is BitmapSource bitmap && !bitmap.IsFrozen && bitmap.IsDownloading)
{ {
bitmap.DownloadCompleted += BitmapDownloadCompleted; bitmap.DownloadCompleted += BitmapDownloadCompleted;
bitmap.DownloadFailed += BitmapDownloadFailed; bitmap.DownloadFailed += BitmapDownloadFailed;