fix: disable double-click on heightmap edit

This commit is contained in:
Azgaar 2024-09-22 20:07:55 +02:00
parent b66874ddda
commit ea27276558
6 changed files with 16 additions and 11 deletions

View file

@ -112,7 +112,9 @@ function editHeightmap(options) {
layersPreset.value = "heightmap";
layersPreset.disabled = true;
mockHeightmap();
viewbox.on("touchmove mousemove", moveCursor);
svg.on("dblclick.zoom", null);
if (tool === "templateEditor") openTemplateEditor();
else if (tool === "imageConverter") openImageConverter();