lock burg - values is boolean, not 1/0

This commit is contained in:
Azgaar 2022-01-01 19:09:50 +03:00
parent 18acadfd80
commit a55e8d96ff
3 changed files with 8 additions and 8 deletions

View file

@ -297,11 +297,6 @@ function getMFCGlink(burg) {
return url;
}
function toggleBurgLock(burg) {
const b = pack.burgs[burg];
b.lock = b.lock ? 0 : 1;
}
// draw legend box
function drawLegend(name, data) {
legend.selectAll("*").remove(); // fully redraw every time