Fix mouse event handler for code actions indicator

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2022-02-14 14:06:55 -08:00
parent ddc1f237a6
commit e9250e647b

View File

@ -2264,7 +2264,7 @@ impl Editor {
enum Tag {}
let style = (self.build_settings)(cx).style;
Some(
MouseEventHandler::new::<Tag, _, _, _>(0, cx, |_, _| {
MouseEventHandler::new::<Tag, _, _, _>(cx.view_id(), cx, |_, _| {
Svg::new("icons/zap.svg")
.with_color(style.code_actions_indicator)
.boxed()