mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
fix: disable double-click on heightmap edit
This commit is contained in:
parent
342ee80258
commit
10a7e4599c
6 changed files with 16 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue