Update script.js

199 fix
This commit is contained in:
Azgaar 2019-02-23 12:49:31 +03:00 committed by GitHub
parent ca49e53fd0
commit 97eea31488
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7041,6 +7041,7 @@ function fantasyMap() {
restoreDefaultEvents(); restoreDefaultEvents();
viewbox.on("touchmove mousemove", moved); viewbox.on("touchmove mousemove", moved);
terrain.selectAll("g").selectAll("g").on("click", editReliefIcon); terrain.selectAll("g").selectAll("g").on("click", editReliefIcon);
terrain.selectAll("use").on("click", editReliefIcon);
labels.selectAll("text").on("click", editLabel); labels.selectAll("text").on("click", editLabel);
icons.selectAll("circle, path, use").on("click", editIcon); icons.selectAll("circle, path, use").on("click", editIcon);
burgLabels.selectAll("text").on("click", editBurg); burgLabels.selectAll("text").on("click", editBurg);