Clear hover background highlights
Co-Authored-By: Piotr <piotr@zed.dev>
This commit is contained in:
parent
e5f78ec122
commit
bef3b80bd4
2 changed files with 4 additions and 4 deletions
|
@ -412,12 +412,13 @@ impl EditorElement {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
true
|
||||
} else {
|
||||
update_go_to_definition_link(editor, None, modifiers.command, modifiers.shift, cx);
|
||||
hover_at(editor, None, cx);
|
||||
false
|
||||
}
|
||||
|
||||
true
|
||||
}
|
||||
|
||||
fn scroll(
|
||||
|
|
|
@ -144,8 +144,7 @@ pub fn hide_hover(editor: &mut Editor, cx: &mut ViewContext<Editor>) -> bool {
|
|||
editor.hover_state.info_task = None;
|
||||
editor.hover_state.triggered_from = None;
|
||||
|
||||
// todo!()
|
||||
// editor.clear_background_highlights::<HoverState>(cx);
|
||||
editor.clear_background_highlights::<HoverState>(cx);
|
||||
|
||||
if did_hide {
|
||||
cx.notify();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue