mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Allow manipulation only without modifier keys
This commit is contained in:
parent
e1c6bfdf9c
commit
42f824bcf4
2 changed files with 3 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ namespace MapControl
|
|||
|
||||
private void OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
if (CaptureMouse())
|
||||
if (Keyboard.Modifiers == ModifierKeys.None && CaptureMouse())
|
||||
{
|
||||
mousePosition = e.GetPosition(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue