mirror of
https://github.com/typst/typst
synced 2025-07-28 14:57:54 +08:00
Don't check depth
This commit is contained in:
parent
673fe6ffb7
commit
6873ea4745
@ -405,7 +405,6 @@ fn visit_show_rules<'a>(
|
|||||||
let prev_outside = s.outside;
|
let prev_outside = s.outside;
|
||||||
s.outside &= content.is::<ContextElem>();
|
s.outside &= content.is::<ContextElem>();
|
||||||
s.engine.route.increase();
|
s.engine.route.increase();
|
||||||
s.engine.route.check_show_depth().at(content.span())?;
|
|
||||||
|
|
||||||
visit_styled(s, realized, Cow::Owned(map), styles)?;
|
visit_styled(s, realized, Cow::Owned(map), styles)?;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user