mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
feat: style scale bar
This commit is contained in:
parent
fec5f421ad
commit
b9f3ff6da6
25 changed files with 540 additions and 246 deletions
1
main.js
1
main.js
|
|
@ -135,7 +135,6 @@ fogging
|
|||
.attr("filter", "url(#splotch)");
|
||||
|
||||
// assign events separately as not a viewbox child
|
||||
scaleBar.on("mousemove", () => tip("Click to open Units Editor")).on("click", () => editUnits());
|
||||
legend
|
||||
.on("mousemove", () => tip("Drag to change the position. Click to hide the legend"))
|
||||
.on("click", () => clearLegend());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue