Update Tile class

This commit is contained in:
ClemensFischer 2022-11-17 23:11:40 +01:00
parent 6903c4a436
commit 7fa2e37266
7 changed files with 17 additions and 10 deletions

View file

@ -52,6 +52,13 @@ namespace MapControl
public bool Pending { get; set; } = true;
public void SetImageSource(Tile tile)
{
Pending = false;
Image.Opacity = 1d;
Image.Source = tile.Image.Source;
}
private void FadeIn()
{
Image.BeginAnimation(UIElement.OpacityProperty, new DoubleAnimation