Improve touch input handling

This commit is contained in:
ClemensFischer 2022-11-12 11:08:10 +01:00
parent 7448daa531
commit 47a96b22cc
4 changed files with 17 additions and 47 deletions

View file

@ -43,7 +43,12 @@ namespace MapControl
}
}
public Image Image { get; } = new Image { Opacity = 0d, Stretch = Stretch.Fill };
public Image Image { get; } = new Image
{
Opacity = 0d,
Stretch = Stretch.Fill,
IsHitTestVisible = false // avoid touch capture issues
};
public bool Pending { get; set; } = true;