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