diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-18 12:50:28 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-18 12:50:28 +0100 |
| commit | 5a59bb48216352d04f78c9a9392ca7cef280d7b2 (patch) | |
| tree | 463ec7ef40078df17ea79e018caa3e8943bffc94 /src/library/shape.rs | |
| parent | b2e6a297893348a871fba8997017a9fc98d5674b (diff) | |
Page fill
Diffstat (limited to 'src/library/shape.rs')
| -rw-r--r-- | src/library/shape.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/shape.rs b/src/library/shape.rs index 7c543958..d0df5f48 100644 --- a/src/library/shape.rs +++ b/src/library/shape.rs @@ -131,6 +131,7 @@ impl Layout for ShapeNode { frames = node.layout(ctx, &pod); } + // TODO: What if there are multiple or no frames? // Extract the frame. Rc::take(frames.into_iter().next().unwrap().item) } else { |
