mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-04 02:08:17 +00:00
parent
63e368c2bb
commit
5b72f760bb
1 changed files with 4 additions and 1 deletions
|
@ -217,7 +217,10 @@ impl<F: CompilerFeat> WorldComputable<F> for CompilationTask<TypstPagedDocument>
|
|||
.enabled;
|
||||
|
||||
Ok(enabled.then(|| {
|
||||
let compiled = typst::compile(&graph.snap.world);
|
||||
let mut world = graph.snap.world.clone();
|
||||
world.set_is_compiling(true);
|
||||
let compiled = typst::compile(&world);
|
||||
world.set_is_compiling(false);
|
||||
Warned {
|
||||
output: compiled.output.map(Arc::new),
|
||||
warnings: compiled.warnings,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue