mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.04 - emblem gallery generator
This commit is contained in:
parent
3aaddcf1a7
commit
68dc822121
7 changed files with 174 additions and 42 deletions
|
|
@ -672,7 +672,7 @@
|
|||
moriaOrc: "0 0 200 200"
|
||||
}
|
||||
|
||||
async function draw(id, coa) {
|
||||
function draw(id, coa) {
|
||||
const {division, ordinaries = [], charges = []} = coa;
|
||||
const ordinariesRegular = ordinaries.filter(o => !o.above);
|
||||
const ordinariesAboveCharges = ordinaries.filter(o => o.above);
|
||||
|
|
@ -877,7 +877,7 @@
|
|||
}
|
||||
|
||||
// async render coa if it does not exist
|
||||
const trigger = async function(id, coa) {
|
||||
const trigger = function(id, coa) {
|
||||
if (!document.getElementById(id)) draw(id, coa);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue