diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-09 22:49:25 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-09 22:49:25 +0100 |
| commit | d9ce194fe71076314955dd25896f64d48bccd6e5 (patch) | |
| tree | 1f81453d8f2bd0701863c18c4a742e89510d4375 /library/src/graphics | |
| parent | 010cc2effc2fd0e1c4e52d5c914cb4d74506bc0a (diff) | |
Remove role applications
Diffstat (limited to 'library/src/graphics')
| -rw-r--r-- | library/src/graphics/shape.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/library/src/graphics/shape.rs b/library/src/graphics/shape.rs index d980b64a..be67532a 100644 --- a/library/src/graphics/shape.rs +++ b/library/src/graphics/shape.rs @@ -92,10 +92,6 @@ impl<const S: ShapeKind> LayoutInline for ShapeNode<S> { let mut pod = Regions::one(regions.first, regions.base, regions.expand); frames = child.layout_inline(world, &pod, styles)?; - for frame in frames.iter_mut() { - frame.apply_role(Role::GenericBlock); - } - // Relayout with full expansion into square region to make sure // the result is really a square or circle. if is_quadratic(S) { |
