diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-13 11:40:05 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-13 11:40:05 +0200 |
| commit | 6c542ea1a4a0ee85069dad6974ff331851eff406 (patch) | |
| tree | a389d6e36163a931b4f989ee421d2454da20e4ec /library/src/layout/enum.rs | |
| parent | c5cdbaeaf84bbd68b4ba18979c796f4f0f0f7cd7 (diff) | |
Pass `Vt` through grid layouter explicitly
Diffstat (limited to 'library/src/layout/enum.rs')
| -rw-r--r-- | library/src/layout/enum.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/src/layout/enum.rs b/library/src/layout/enum.rs index 91866d15..d66477fc 100644 --- a/library/src/layout/enum.rs +++ b/library/src/layout/enum.rs @@ -256,7 +256,6 @@ impl Layout for EnumElem { } let layouter = GridLayouter::new( - vt, Axes::with_x(&[ Sizing::Rel(indent.into()), Sizing::Auto, @@ -269,7 +268,7 @@ impl Layout for EnumElem { styles, ); - Ok(layouter.layout()?.fragment) + Ok(layouter.layout(vt)?.fragment) } } |
