mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Improve touch input handling
This commit is contained in:
parent
7448daa531
commit
47a96b22cc
4 changed files with 17 additions and 47 deletions
|
|
@ -149,8 +149,15 @@ namespace MapControl
|
|||
}
|
||||
else if (Children.Count == 0)
|
||||
{
|
||||
Children.Add(new Image { Opacity = 0d, Stretch = Stretch.Fill });
|
||||
Children.Add(new Image { Opacity = 0d, Stretch = Stretch.Fill });
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Children.Add(new Image
|
||||
{
|
||||
Opacity = 0d,
|
||||
Stretch = Stretch.Fill,
|
||||
IsHitTestVisible = false // avoid touch capture issues
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
base.SetParentMap(map);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue