From d0aa0a595134908352d582fa0ffb73f9fae77332 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Wed, 19 Mar 2025 12:41:51 +0100 Subject: [PATCH] Update Map.WinUI.cs --- MapControl/WinUI/Map.WinUI.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/MapControl/WinUI/Map.WinUI.cs b/MapControl/WinUI/Map.WinUI.cs index 85989f33..360e1e80 100644 --- a/MapControl/WinUI/Map.WinUI.cs +++ b/MapControl/WinUI/Map.WinUI.cs @@ -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.