Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

workspace: Prevent clicks from falling through on some notifications (#24104)

Piotr Osiewicz4885ace1070a
diff --git a/crates/workspace/src/notifications.rs b/crates/workspace/src/notifications.rs
index 145c0b7aec3..3a850e5e5c4 100644
--- a/crates/workspace/src/notifications.rs
+++ b/crates/workspace/src/notifications.rs
@@ -502,6 +502,7 @@ pub mod simple_message_notification {
impl Render for MessageNotification {
fn render(&mut self, window: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
v_flex()
+ .occlude()
.p_3()
.gap_3()
.elevation_3(cx)