Moved to tap event for token menu popup

This commit is contained in:
Mitchell McCaffrey 2020-04-19 18:46:10 +10:00
parent bc5728ffa1
commit aa36ad9463

View File

@ -63,7 +63,7 @@ function TokenMenu({ tokenClassName, onTokenChange }) {
}
// Add listener for hold gesture
interact(`.${tokenClassName}`).on("hold", handleTokenMenuOpen);
interact(`.${tokenClassName}`).on("tap", handleTokenMenuOpen);
function handleMapContextMenu(event) {
event.preventDefault();