mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
Change to 1k granularity for points
This commit is contained in:
parent
e4718a0844
commit
cd4f69ef08
4 changed files with 39 additions and 7 deletions
|
|
@ -276,9 +276,9 @@ function copyMapURL() {
|
|||
}
|
||||
|
||||
function changeCellsDensity(value) {
|
||||
densityOutput.value = value * 10 + "K";
|
||||
if (value > 5) densityOutput.style.color = "#b12117";
|
||||
else if (value > 1) densityOutput.style.color = "#dfdf12";
|
||||
densityOutput.value = value * 1 + "K";
|
||||
if (value > 50) densityOutput.style.color = "#b12117";
|
||||
else if (value > 10) densityOutput.style.color = "#dfdf12";
|
||||
else densityOutput.style.color = "#038603";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue