diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-19 15:31:29 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-19 15:52:15 +0200 |
| commit | a6f260ca39f70f82617eca87855789413715f47d (patch) | |
| tree | 08141ae619bd21e0544d21433bce759aebc7ba83 /src/eval | |
| parent | fdab7158c91c52a4ace211c804fdd8e9110f56de (diff) | |
Refactor layouting a bit
Notably:
- Handle aspect ratio in fixed node
- Inline constraint inflation into pad node
Diffstat (limited to 'src/eval')
| -rw-r--r-- | src/eval/mod.rs | 1 | ||||
| -rw-r--r-- | src/eval/template.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/eval/mod.rs b/src/eval/mod.rs index d4989371..f7a32127 100644 --- a/src/eval/mod.rs +++ b/src/eval/mod.rs @@ -834,7 +834,6 @@ fn walk_item(ctx: &mut EvalContext, label: EcoString, body: Template) { }; StackNode { dirs: Gen::new(state.dirs.main, state.dirs.cross), - aspect: None, children: vec