mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
states-editor - dynamic module
This commit is contained in:
parent
c87c12295b
commit
4fcd62bb99
7 changed files with 1360 additions and 1345 deletions
|
|
@ -1093,3 +1093,10 @@ function refreshAllEditors() {
|
|||
if (document.getElementById("zonesEditorRefresh").offsetParent) zonesEditorRefresh.click();
|
||||
TIME && console.timeEnd("refreshAllEditors");
|
||||
}
|
||||
|
||||
// dynamically loaded editors
|
||||
async function editStates() {
|
||||
if (customization) return;
|
||||
const StateEditor = await import("../dynamic/editors/states-editor.js");
|
||||
StateEditor.open();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue