mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-15 03:15:08 +00:00
Avalonia 12
This commit is contained in:
parent
cf6131f59e
commit
c14377f976
1 changed files with 1 additions and 2 deletions
|
|
@ -3,7 +3,6 @@ using Avalonia.Animation;
|
|||
using Avalonia.Controls;
|
||||
using Avalonia.Media;
|
||||
using Avalonia.Styling;
|
||||
using Avalonia.Threading;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
@ -46,7 +45,7 @@ namespace MapControl
|
|||
}
|
||||
}
|
||||
|
||||
await Dispatcher.UIThread.InvokeAsync(SetImageSource);
|
||||
await Image.Dispatcher.InvokeAsync(SetImageSource);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue