Update Map.WinUI.cs

This commit is contained in:
ClemensFischer 2025-03-19 12:41:51 +01:00
parent 74d3a4adfe
commit d0aa0a5951

View file

@ -34,7 +34,6 @@ namespace MapControl
ManipulationDelta += OnManipulationDelta;
ManipulationCompleted += OnManipulationCompleted;
PointerPressed += OnPointerPressed;
PointerReleased += OnPointerReleased;
PointerMoved += OnPointerMoved;
PointerWheelChanged += OnPointerWheelChanged;
}
@ -69,11 +68,6 @@ namespace MapControl
manipulationEnabled = null;
}
private void OnPointerReleased(object sender, PointerRoutedEventArgs e)
{
manipulationEnabled = null;
}
private void OnPointerPressed(object sender, PointerRoutedEventArgs e)
{
// IsLeftButtonPressed: input was triggered by the primary action mode of an input device.