diff --git a/crates/editor2/src/element.rs b/crates/editor2/src/element.rs index cf34863ba6..8ccae59172 100644 --- a/crates/editor2/src/element.rs +++ b/crates/editor2/src/element.rs @@ -564,8 +564,6 @@ impl EditorElement { ); } } - - cx.stop_propagation(); } else { update_go_to_definition_link(editor, None, modifiers.command, modifiers.shift, cx); hover_at(editor, None, cx); diff --git a/crates/workspace2/src/dock.rs b/crates/workspace2/src/dock.rs index 3997b8f9b0..d0aba998b9 100644 --- a/crates/workspace2/src/dock.rs +++ b/crates/workspace2/src/dock.rs @@ -495,7 +495,8 @@ impl Render for Dock { }) .on_click(cx.listener(|v, e: &ClickEvent, cx| { if e.down.button == MouseButton::Left && e.down.click_count == 2 { - v.resize_active_panel(None, cx) + v.resize_active_panel(None, cx); + cx.stop_propagation(); } })) .z_index(1);