diff options
Diffstat (limited to 'library/src/layout/enum.rs')
| -rw-r--r-- | library/src/layout/enum.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/layout/enum.rs b/library/src/layout/enum.rs index 1c08cd5f..05b42bd8 100644 --- a/library/src/layout/enum.rs +++ b/library/src/layout/enum.rs @@ -180,7 +180,7 @@ impl Layout for EnumNode { let resolved = if full { parents.push(number); - let content = numbering.apply(vt.world, &parents)?.display(); + let content = numbering.apply_vt(vt, &parents)?.display(); parents.pop(); content } else { @@ -188,7 +188,7 @@ impl Layout for EnumNode { Numbering::Pattern(pattern) => { TextNode::packed(pattern.apply_kth(parents.len(), number)) } - other => other.apply(vt.world, &[number])?.display(), + other => other.apply_vt(vt, &[number])?.display(), } }; |
