mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
lock burg - values is boolean, not 1/0
This commit is contained in:
parent
18acadfd80
commit
a55e8d96ff
3 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue