fix: touch clicks

This commit is contained in:
Tomáš Mládek 2022-12-08 22:30:26 +01:00
parent f583264a4a
commit 7fcb85d281

View file

@ -110,6 +110,9 @@
beforeWheel: () => { beforeWheel: () => {
return panning; return panning;
}, },
onTouch: function () {
return false; // tells the library to not preventDefault.
},
onDoubleClick: () => { onDoubleClick: () => {
return; // TODO WHY BLACK?! return; // TODO WHY BLACK?!
if (!document.fullscreenElement) { if (!document.fullscreenElement) {