mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.0.21
This commit is contained in:
parent
8a52aa35d4
commit
3af345001a
1 changed files with 1 additions and 1 deletions
|
|
@ -861,7 +861,7 @@ function applyStoredOptions() {
|
||||||
if (localStorage.getItem("regions")) changeStatesNumber(localStorage.getItem("regions"));
|
if (localStorage.getItem("regions")) changeStatesNumber(localStorage.getItem("regions"));
|
||||||
|
|
||||||
if (localStorage.getItem("uiSize")) changeUIsize(localStorage.getItem("uiSize"));
|
if (localStorage.getItem("uiSize")) changeUIsize(localStorage.getItem("uiSize"));
|
||||||
else changeUIsize(Math.max(Math.min(rn(svgWidth / 1024, 1), 3), 1));
|
else changeUIsize(Math.max(Math.min(rn(mapWidthInput.value / 1024, 1), 3), 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
// randomize options if randomization is allowed (not locked)
|
// randomize options if randomization is allowed (not locked)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue