diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 3fc47f48e9a92b3b8fd604b4af607af6d4a81d68..9c1e0b3c1818f30d6676ee5fd3129bc055ff2ad5 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -154,7 +154,7 @@ pub fn render_parsed_markdown( }); cx.scene().push_mouse_region( MouseRegion::new::<(RenderedMarkdown, Tag)>(view_id, region_id, bounds) - .on_click::(MouseButton::Left, move |_, _, cx| { + .on_down::(MouseButton::Left, move |_, _, cx| { cx.platform().open_url(&url) }), );