Wire up GoToLine modal
This commit is contained in:
parent
0233864e92
commit
1e6a0f1c7b
3 changed files with 9 additions and 19 deletions
|
@ -3707,7 +3707,9 @@ impl Render for Workspace {
|
|||
.bg(cx.theme().colors().background)
|
||||
.child(self.render_titlebar(cx))
|
||||
.child(
|
||||
div()
|
||||
self.modal_layer
|
||||
.read(cx)
|
||||
.render(self, cx)
|
||||
.flex_1()
|
||||
.w_full()
|
||||
.flex()
|
||||
|
@ -3840,8 +3842,6 @@ impl Render for Workspace {
|
|||
// .on_click(Arc::new(|workspace, cx| workspace.toggle_debug(cx))),
|
||||
// ),
|
||||
)
|
||||
// .child(self.modal_layer.clone())
|
||||
.child(self.modal_layer.read(cx).render(cx))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue