mirror of
https://github.com/typst/typst
synced 2025-07-28 06:47:53 +08:00
Revert "Next twice"
This reverts commit 777a60f2dd511ae1c14cf8d056550dc3ebef20c0.
This commit is contained in:
parent
1fbfb1e796
commit
4163fd59a6
@ -536,7 +536,6 @@ fn prepare(
|
||||
// when it stems from a query.
|
||||
let key = typst_utils::hash128(&elem);
|
||||
if elem.location().is_none() && (locatable(elem) || elem.label().is_some()) {
|
||||
std::hint::black_box(locator.next_location(engine.introspector, key));
|
||||
let loc = locator.next_location(engine.introspector, key);
|
||||
elem.set_location(loc);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user