mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
update on click add type
This commit is contained in:
parent
c0fa915af8
commit
3bd3290296
1 changed files with 1 additions and 5 deletions
|
|
@ -560,15 +560,10 @@ function editZones() {
|
|||
$("#zonesTypes").dialog({
|
||||
title: "Add zones and types",
|
||||
width: fitContent(),
|
||||
close: closeZoneTypesEditor,
|
||||
position: {my: "center", at: "center", of: "svg"},
|
||||
});
|
||||
zonesTypesAddLines();
|
||||
}
|
||||
|
||||
function closeZoneTypesEditor() {
|
||||
zonesEditorAddLines();
|
||||
}
|
||||
|
||||
function addZonesType() {
|
||||
let zoneType = zonesNewTypeInput.value;
|
||||
|
|
@ -576,6 +571,7 @@ function editZones() {
|
|||
zonesNewTypeInput.value = "";
|
||||
zonesTypesAddLines();
|
||||
zonesTypesFooterNumber.innerHTML = zoneTypes.length;
|
||||
zonesEditorAddLines();
|
||||
}
|
||||
|
||||
function removeZoneType(zoneType) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue