feat: style scale bar

This commit is contained in:
Azgaar 2023-12-03 14:13:43 +04:00
parent fec5f421ad
commit b9f3ff6da6
25 changed files with 540 additions and 246 deletions

View file

@ -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());