Checkpoint: Thread WindowContext
through to user_settings
This commit is contained in:
parent
b16d37953d
commit
61e09ff532
15 changed files with 71 additions and 64 deletions
|
@ -29,7 +29,7 @@ impl<S: 'static + Send + Sync + Clone> AssistantPanel<S> {
|
|||
fn render(&mut self, view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
|
||||
let theme = theme(cx);
|
||||
|
||||
Panel::new(self.scroll_state.clone())
|
||||
Panel::new(cx)
|
||||
.children(vec![div()
|
||||
.flex()
|
||||
.flex_col()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue