Change summary
crates/editor2/src/element.rs | 2 --
crates/workspace2/src/dock.rs | 3 ++-
2 files changed, 2 insertions(+), 3 deletions(-)
Detailed changes
@@ -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);
@@ -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);