diff --git a/index.html b/index.html index c997c028..c1c6364d 100644 --- a/index.html +++ b/index.html @@ -8110,7 +8110,7 @@ - + diff --git a/modules/ui/options.js b/modules/ui/options.js index 331a7476..62ae30d5 100644 --- a/modules/ui/options.js +++ b/modules/ui/options.js @@ -902,9 +902,9 @@ function updateTilesOptions() { } const tileSize = byId("tileSize"); - const tilesX = +byId("tileColsOutput").value; - const tilesY = +byId("tileRowsOutput").value; - const scale = +byId("tileScaleOutput").value; + const tilesX = +byId("tileColsOutput").value || 2; + const tilesY = +byId("tileRowsOutput").value || 2; + const scale = +byId("tileScaleOutput").value || 1; // calculate size const sizeX = graphWidth * scale * tilesX; diff --git a/versioning.js b/versioning.js index 0e5b2030..79b475dd 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.98.02"; // generator version, update each time +const version = "1.98.03"; // generator version, update each time { document.title += " v" + version;