diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index f2ce168a09..3d28d7aa2c 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()