mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 20:41:23 +01:00
submap: projection moved to options, fix double burg error
This commit is contained in:
parent
312f640107
commit
711653e115
4 changed files with 93 additions and 55 deletions
|
|
@ -353,7 +353,7 @@ const cellsDensityConstants = {
|
|||
|
||||
function changeCellsDensity(value) {
|
||||
const cells = value in cellsDensityConstants? cellsDensityConstants[value]: 1000;
|
||||
pointsInput.setAttribute("data-cells", cells);
|
||||
pointsInput.dataset.cells = cells;
|
||||
pointsOutput_formatted.value = cells / 1000 + "K";
|
||||
pointsOutput_formatted.style.color = cells > 50000 ? "#b12117" : cells !== 10000 ? "#dfdf12" : "#053305";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue