diff options
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) { |
