Show modals on top of zoomed pane (#9183)

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2024-03-11 16:57:17 +01:00 committed by GitHub
parent 373a4e7614
commit 8eea281288
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3912,7 +3912,6 @@ impl Render for Workspace {
},
)),
)
.child(self.modal_layer.clone())
.children(self.zoomed.as_ref().and_then(|view| {
let zoomed_view = view.upgrade()?;
let div = div()
@ -3932,6 +3931,7 @@ impl Render for Workspace {
None => div.top_2().bottom_2().left_2().right_2().border(),
})
}))
.child(self.modal_layer.clone())
.children(self.render_notifications(cx)),
)
.child(self.status_bar.clone())