Do not emulate dblclick on multi-touch

This commit is contained in:
Andreas Hocevar
2020-10-21 00:44:25 +02:00
parent bfeeba2194
commit 63a784531d
2 changed files with 21 additions and 1 deletions

View File

@@ -137,7 +137,7 @@ class MapBrowserEventHandler extends EventTarget {
pointerEvent
);
this.dispatchEvent(newEvent);
} else {
} else if (this.activePointers_ === 0) {
// click
this.clickTimeoutId_ = setTimeout(
/** @this {MapBrowserEventHandler} */