Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix: Picker select_last not scrolling to item index (#13393)
Vitor Ramos7df8b6fe10de
diff --git a/crates/picker/src/picker.rs b/crates/picker/src/picker.rsindex 0cae18f50b3..f16fb236d9e 100644--- a/crates/picker/src/picker.rs+++ b/crates/picker/src/picker.rs@@ -300,7 +300,6 @@ impl<D: PickerDelegate> Picker<D> {fn select_last(&mut self, _: &menu::SelectLast, cx: &mut ViewContext<Self>) {let count = self.delegate.match_count();if count > 0 {- self.delegate.set_selected_index(count - 1, cx);self.set_selected_index(count - 1, true, cx);cx.notify();}