fix: disable double-click on heightmap edit

This commit is contained in:
Azgaar 2024-09-22 20:07:55 +02:00 committed by sofronaspe
parent 342ee80258
commit 10a7e4599c
6 changed files with 16 additions and 11 deletions

View file

@ -8,6 +8,7 @@ function restoreDefaultEvents() {
svg.call(zoom);
viewbox.style("cursor", "default").on(".drag", null).on("click", clicked).on("touchmove mousemove", onMouseMove);
legend.call(d3.drag().on("start", dragLegendBox));
svg.call(zoom);
}
// handle viewbox click