crates/storybook/src/gpui3/taffy.rs 🔗
@@ -28,7 +28,7 @@ impl TaffyLayoutEngine {
}
pub fn layout(&mut self, id: LayoutId) -> Result<Layout> {
- todo!()
+ Ok(self.0.layout(id).map(Into::into)?)
}
}
Nathan Sobo created
crates/storybook/src/gpui3/taffy.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -28,7 +28,7 @@ impl TaffyLayoutEngine {
}
pub fn layout(&mut self, id: LayoutId) -> Result<Layout> {
- todo!()
+ Ok(self.0.layout(id).map(Into::into)?)
}
}