diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index f2ce168a09559ea40fc283c1f5c7171f897e4c4a..3d28d7aa2cf8c56360925c513f2923173b1b23ca 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -2264,7 +2264,7 @@ impl Editor { enum Tag {} let style = (self.build_settings)(cx).style; Some( - MouseEventHandler::new::(0, cx, |_, _| { + MouseEventHandler::new::(cx.view_id(), cx, |_, _| { Svg::new("icons/zap.svg") .with_color(style.code_actions_indicator) .boxed()