mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-05 01:51:23 +01:00
fix: change mapCoordinates declaration from let to var for compatibility
This commit is contained in:
parent
64c7688d16
commit
2e9a1676b0
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ const onZoom = debounce(function () {
|
||||||
}, 50);
|
}, 50);
|
||||||
const zoom = d3.zoom().scaleExtent([1, 20]).on("zoom", onZoom);
|
const zoom = d3.zoom().scaleExtent([1, 20]).on("zoom", onZoom);
|
||||||
|
|
||||||
let mapCoordinates = {}; // map coordinates on globe
|
var mapCoordinates = {}; // map coordinates on globe
|
||||||
let populationRate = +byId("populationRateInput").value;
|
let populationRate = +byId("populationRateInput").value;
|
||||||
let distanceScale = +byId("distanceScaleInput").value;
|
let distanceScale = +byId("distanceScaleInput").value;
|
||||||
let urbanization = +byId("urbanizationInput").value;
|
let urbanization = +byId("urbanizationInput").value;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue