mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 17:03:26 +03:00
Remove highlighted rows when confirming outline view
This commit is contained in:
parent
54e7464163
commit
c15dadbb8c
@ -187,6 +187,7 @@ impl PickerDelegate for OutlineViewDelegate {
|
|||||||
active_editor.change_selections(Some(Autoscroll::center()), cx, |s| {
|
active_editor.change_selections(Some(Autoscroll::center()), cx, |s| {
|
||||||
s.select_ranges([position..position])
|
s.select_ranges([position..position])
|
||||||
});
|
});
|
||||||
|
active_editor.highlight_rows(None);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
cx.emit(PickerEvent::Dismiss);
|
cx.emit(PickerEvent::Dismiss);
|
||||||
|
Loading…
Reference in New Issue
Block a user