diff --git a/crates/storybook/src/storybook.rs b/crates/storybook/src/storybook.rs index 58e6b28ce7..cb3498c179 100644 --- a/crates/storybook/src/storybook.rs +++ b/crates/storybook/src/storybook.rs @@ -86,7 +86,7 @@ fn main() { let bounds = Bounds::centered(None, size, cx); let _window = cx.open_window( WindowOptions { - window_bounds: WindowBounds::Windowed(Some(bounds)), + window_bounds: Some(WindowBounds::Windowed(bounds)), ..Default::default() }, move |cx| {