Enable glyph block filtering and dependency tracker.
This commit is contained in:
parent
183b02d652
commit
0a74f44f0f
10 changed files with 75 additions and 42 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue