From 367d54037fd6867cc43d587fa157b98c96e34440 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Fri, 23 May 2025 17:24:29 +0200 Subject: [PATCH] Update Tile.WPF.cs --- MapControl/WPF/Tile.WPF.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/WPF/Tile.WPF.cs b/MapControl/WPF/Tile.WPF.cs index 9c57232f..80a17988 100644 --- a/MapControl/WPF/Tile.WPF.cs +++ b/MapControl/WPF/Tile.WPF.cs @@ -23,7 +23,7 @@ namespace MapControl 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.DownloadFailed += BitmapDownloadFailed;