Tried alternate stratergy
This commit is contained in:
parent
537d4762f6
commit
53f8744794
17 changed files with 166 additions and 147 deletions
|
@ -452,7 +452,7 @@ impl ProjectDiagnosticsEditor {
|
|||
} else {
|
||||
groups = self.path_states.get(path_ix)?.diagnostic_groups.as_slice();
|
||||
new_excerpt_ids_by_selection_id =
|
||||
editor.change_selections(Some(Autoscroll::Fit), cx, |s| s.refresh());
|
||||
editor.change_selections(Some(Autoscroll::fit()), cx, |s| s.refresh());
|
||||
selections = editor.selections.all::<usize>(cx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue