summaryrefslogtreecommitdiff
path: root/src/library/shape.rs
diff options
context:
space:
mode:
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 {