summaryrefslogtreecommitdiff
path: root/src/library/shape.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-18 12:50:28 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-18 12:50:28 +0100
commit5a59bb48216352d04f78c9a9392ca7cef280d7b2 (patch)
tree463ec7ef40078df17ea79e018caa3e8943bffc94 /src/library/shape.rs
parentb2e6a297893348a871fba8997017a9fc98d5674b (diff)
Page fill
Diffstat (limited to 'src/library/shape.rs')
-rw-r--r--src/library/shape.rs1
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 {