Update Map.Avalonia.cs

This commit is contained in:
ClemensFischer 2024-05-19 23:42:35 +02:00
parent f34b815aed
commit 4c6322b193

View file

@ -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