outline_panel: Fix outline panel should autoscroll when selection has changed (#14038)
Fixed selection changed, outline panel not autoscroll. Release Notes: - N/A
This commit is contained in:
parent
d01d76482d
commit
2f2047ab22
1 changed files with 1 additions and 0 deletions
|
@ -1207,6 +1207,7 @@ impl OutlinePanel {
|
|||
|
||||
self.selected_entry = Some(entry_with_selection);
|
||||
self.update_cached_entries(None, cx);
|
||||
self.autoscroll(cx);
|
||||
}
|
||||
|
||||
fn render_excerpt(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue