mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
template editor: allow single value
This commit is contained in:
parent
2be590ab24
commit
e3da664e56
3 changed files with 233 additions and 142 deletions
|
|
@ -950,7 +950,8 @@ function editHeightmap() {
|
|||
|
||||
for (const s of steps) {
|
||||
if (s.style.opacity == 0.5) continue;
|
||||
const type = s.getAttribute("data-type");
|
||||
const type = s.dataset.type;
|
||||
|
||||
const elCount = s.querySelector(".templateCount") || "";
|
||||
const elHeight = s.querySelector(".templateHeight") || "";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue