mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update Map.Avalonia.cs
This commit is contained in:
parent
f34b815aed
commit
4c6322b193
|
|
@ -3,7 +3,6 @@
|
|||
// Licensed under the Microsoft Public License (Ms-PL)
|
||||
|
||||
using Avalonia.Input;
|
||||
using System;
|
||||
using System.Threading;
|
||||
|
||||
namespace MapControl
|
||||
|
|
@ -41,7 +40,7 @@ namespace MapControl
|
|||
|
||||
if (cancellationTokenSource != null)
|
||||
{
|
||||
cancellationTokenSource?.Cancel();
|
||||
cancellationTokenSource.Cancel();
|
||||
targetZoomLevel += delta;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue