Enable glyph block filtering and dependency tracker.

This commit is contained in:
be5invis 2023-10-30 23:00:38 -07:00
parent 183b02d652
commit 0a74f44f0f
10 changed files with 75 additions and 42 deletions

View file

@ -19,12 +19,12 @@ export class GlyphBuildExecutor {
}
}
executePendingBlocks() {
// if (!this.recursiveBuildFilter) {
for (const block of this.pendingGlyphBlocks) block.resolve();
// } else {
// for (const block of this.pendingGlyphBlocks)
// if (this.recursiveBuildFilter.blockIsNeeded(block.id)) block.resolve();
// }
if (!this.recursiveBuildFilter) {
for (const block of this.pendingGlyphBlocks) block.resolve();
} else {
for (const block of this.pendingGlyphBlocks)
if (this.recursiveBuildFilter.blockIsNeeded(block.id)) block.resolve();
}
}
defineGlyphBlock(capture, id, body) {
const block = new GlyphBlock(capture, this, id, body);