diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-04 21:29:15 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-04 21:29:15 +0100 |
| commit | 2e77b1c836220766398e379ae0157736fb448874 (patch) | |
| tree | 70fc7d28f44193f26d880b5315ce55ed951af73c /src/eval/context.rs | |
| parent | 77c06ebc24ab3a43dc2268763ff8f10963f875b4 (diff) | |
Better value representations, type function 🌐
Diffstat (limited to 'src/eval/context.rs')
| -rw-r--r-- | src/eval/context.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/eval/context.rs b/src/eval/context.rs index ece33146..64a8fbbe 100644 --- a/src/eval/context.rs +++ b/src/eval/context.rs @@ -119,15 +119,17 @@ impl EvalContext { if !children.is_empty() || keep_empty(group.softness) { self.runs.push(NodePages { size: group.size, - child: Node::any(NodePad { + child: NodePad { padding: group.padding, - child: Node::any(NodeStack { + child: NodeStack { dirs: group.dirs, align: group.align, expansion: Gen::uniform(Expansion::Fill), children, - }), - }), + } + .into(), + } + .into(), }) } group.softness |
