mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v 0.8.20b
This commit is contained in:
parent
f7a9485da4
commit
dc7ebd7491
3 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ function editBurg() {
|
|||
elSelected = burgLabels.select("[data-id='" + id + "']");
|
||||
burgLabels.selectAll("text").call(d3.drag().on("start", dragBurgLabel)).classed("draggable", true);
|
||||
|
||||
selectBurgGroup(event.target);
|
||||
selectBurgGroup(d3.event.target);
|
||||
document.getElementById("burgNameInput").value = elSelected.text();
|
||||
const my = elSelected.attr("id") == d3.event.target.id ? "center bottom" : "center top+10";
|
||||
const at = elSelected.attr("id") == d3.event.target.id ? "top" : "bottom";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue