mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 12:31:24 +01:00
Keep visual change for towns
This commit is contained in:
parent
00a5938d6d
commit
bb00157f37
1 changed files with 1 additions and 2 deletions
|
|
@ -146,8 +146,7 @@ window.UISubmap = (function () {
|
|||
// resize burgIcons
|
||||
const burgIcons = [...document.getElementById("burgIcons").querySelectorAll("g")];
|
||||
for (const bi of burgIcons) {
|
||||
const newRadius = rn(minmax(scale, 0.2, 10) * 0.8, 2);
|
||||
styleRadiusInput.value = newRadius;
|
||||
const newRadius = rn(minmax(bi.getAttribute('size') * scale, 0.2, 10), 2);
|
||||
changeRadius(newRadius, bi.id);
|
||||
const swAttr = bi.attributes['stroke-width'];
|
||||
swAttr.value = +swAttr.value * scale;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue