mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update Tile.WPF.cs
This commit is contained in:
parent
aae473025e
commit
367d54037f
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue