markers - generate tool + lock tooltip

This commit is contained in:
Azgaar 2021-09-23 21:07:03 +03:00
parent 84c97c487f
commit 2a9edd2458
8 changed files with 87 additions and 51 deletions

View file

@ -265,15 +265,6 @@ function toggleBurgLock(burg) {
b.lock = b.lock ? 0 : 1;
}
function showBurgLockTip(burg) {
const b = pack.burgs[burg];
if (b.lock) {
tip("Click to Unlock burg and allow it to be change by regeneration tools");
} else {
tip("Click to Lock burg and prevent changes by regeneration tools");
}
}
// draw legend box
function drawLegend(name, data) {
legend.selectAll("*").remove(); // fully redraw every time