diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-11 13:08:27 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-11 13:08:27 +0200 |
| commit | f04ad0ffa5f34bb7fd97e5c94c7547f96904220c (patch) | |
| tree | 8fb4ebbcf1a24f08ded0f3fea1afe9f9bcdf6697 /src/layout/text.rs | |
| parent | c216a4fc26c72938ddad60bc5fe4fa9e45263b30 (diff) | |
Rename LayoutItem to Layouted ✏
Diffstat (limited to 'src/layout/text.rs')
| -rw-r--r-- | src/layout/text.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/text.rs b/src/layout/text.rs index 7ba4be21..1c09b40a 100644 --- a/src/layout/text.rs +++ b/src/layout/text.rs @@ -23,7 +23,7 @@ impl Layout for Text { &self, ctx: &mut LayoutContext, _constraints: LayoutConstraints, - ) -> Vec<LayoutItem> { + ) -> Vec<Layouted> { let mut loader = ctx.loader.borrow_mut(); let boxed = shaping::shape( &self.text, @@ -34,7 +34,7 @@ impl Layout for Text { self.variant, ) .await; - vec![LayoutItem::Box(boxed, self.aligns)] + vec![Layouted::Box(boxed, self.aligns)] } } |
