Fix singleclick and doubleclick events

This commit is contained in:
Andreas Hocevar
2021-03-25 20:55:40 +01:00
parent ccde59cff9
commit 158f6c7bcd
3 changed files with 9 additions and 18 deletions

View File

@@ -682,7 +682,7 @@ class PluggableMap extends BaseObject {
/**
* Returns the map pixel position for a browser event relative to the viewport.
* @param {UIEvent|import("./MapBrowserEventHandler").PointerEventData} event Event.
* @param {UIEvent} event Event.
* @return {import("./pixel.js").Pixel} Pixel.
* @api
*/