Upgrade mechanism of generating sample images
This commit is contained in:
parent
aa855a5426
commit
ae2de5d90f
154 changed files with 100 additions and 58 deletions
|
@ -108,7 +108,11 @@ function buildupComposite(variants, para, ...composites) {
|
|||
for (const [prime, variant] of composite.decompose(para, variants.selectorTree)) {
|
||||
if (!prime.sampler) continue;
|
||||
const key = getSelectorKey(prime, variant);
|
||||
for (const ch of prime.sampler) hotChars.set(ch, key);
|
||||
if (/ /.test(prime.sampler)) {
|
||||
for (const ch of prime.sampler.split(" ")) hotChars.set(ch, key);
|
||||
} else {
|
||||
for (const ch of prime.sampler) hotChars.set(ch, key);
|
||||
}
|
||||
compositionMap.set(prime.key, variant.key);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue