Checkpoint – Broken
This commit is contained in:
parent
b16d37953d
commit
bca97f7186
33 changed files with 183 additions and 127 deletions
|
@ -44,13 +44,13 @@ impl<S: 'static + Send + Sync + Clone> ContextMenu<S> {
|
|||
}
|
||||
}
|
||||
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
|
||||
let theme = theme(cx);
|
||||
let color = ThemeColor::new(cx);
|
||||
|
||||
v_stack()
|
||||
.flex()
|
||||
.bg(theme.lowest.base.default.background)
|
||||
.bg(color.elevated_surface)
|
||||
.border()
|
||||
.border_color(theme.lowest.base.default.border)
|
||||
.border_color(color.border)
|
||||
.child(
|
||||
List::new(
|
||||
self.items
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue