mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 23:45:05 +00:00
Input event handling in WinUI Map and MapItem
This commit is contained in:
parent
86f307359f
commit
58ce17db46
2 changed files with 16 additions and 11 deletions
|
|
@ -45,11 +45,6 @@ namespace MapControl
|
|||
pointerPressedPosition = e.GetCurrentPoint(null).Position;
|
||||
|
||||
base.OnPointerPressed(e);
|
||||
|
||||
// Unsetting e.Handled enables PointerPressed event handlers
|
||||
// and PointerPressed handling in class Map.
|
||||
//
|
||||
e.Handled = false;
|
||||
}
|
||||
|
||||
protected override void OnPointerReleased(PointerRoutedEventArgs e)
|
||||
|
|
@ -71,9 +66,7 @@ namespace MapControl
|
|||
}
|
||||
}
|
||||
|
||||
// Unsetting e.Handled enables PointerReleased event handlers.
|
||||
//
|
||||
e.Handled = false;
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
protected override void OnApplyTemplate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue