From 8eea28128844c9664575218d6311f12cd871b731 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 11 Mar 2024 16:57:17 +0100 Subject: [PATCH] Show modals on top of zoomed pane (#9183) Release Notes: - N/A --- crates/workspace/src/workspace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs index e402baad5ed0a7a0802c79c96c77e1149d10962d..432d0f2f011434c0639f7247d1065ac24d0cd832 100644 --- a/crates/workspace/src/workspace.rs +++ b/crates/workspace/src/workspace.rs @@ -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())