mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
1.11.0
This commit is contained in:
parent
905573dde7
commit
efd9159737
4 changed files with 12 additions and 11 deletions
|
|
@ -877,7 +877,7 @@ function drawGrid() {
|
|||
console.time("drawGrid");
|
||||
gridOverlay.selectAll("*").remove();
|
||||
const type = styleGridType.value;
|
||||
const size = +styleGridSize.value;
|
||||
const size = Math.max(+styleGridSize.value, 2);
|
||||
if (type === "pointyHex" || type === "flatHex") {
|
||||
const points = getHexGridPoints(size, type);
|
||||
const hex = "m" + getHex(size, type).slice(0, 4).join("l");
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue