mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 18:46:49 +00:00
Checkpoint: Back to a compiling state
This commit is contained in:
parent
262f5886a4
commit
6dbe983461
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ impl<S: 'static + Send + Sync + Clone> KitchenSinkStory<S> {
|
|||
|
||||
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
|
||||
let element_stories = ElementStory::iter().map(|selector| selector.story());
|
||||
let component_stories = ComponentStory::iter().map(|selector| selector.story(cx));
|
||||
let component_stories = ComponentStory::iter().map(|selector| selector.story(cx)).collect::<Vec<_>>();
|
||||
|
||||
Story::container(cx)
|
||||
.overflow_y_scroll(ScrollState::default())
|
||||
|
|
|
@ -90,7 +90,7 @@ impl ComponentStory {
|
|||
Self::Toast => ui::ToastStory::new().into_any(),
|
||||
Self::Toolbar => ui::ToolbarStory::new().into_any(),
|
||||
Self::TrafficLights => ui::TrafficLightsStory::new().into_any(),
|
||||
Self::Workspace => ui::workspace_story(cx).into_any().into_any(),
|
||||
Self::Workspace => todo!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ impl StoryWrapper {
|
|||
.flex()
|
||||
.flex_col()
|
||||
.size_full()
|
||||
.child_any(self.selector.story())
|
||||
.child_any(self.selector.story(cx))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue