From 257a8a3d33d7c97c93110557abd7703287eef667 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sat, 2 Nov 2024 20:30:35 +0200 Subject: [PATCH] Fix the outline panel's focus tracking (#20083) Closes #20073 Release Notes: - Fixed outline panel navigation ([https://github.com/zed-industries/zed/issues/20073](#20073)) Co-authored-by: Mikayla Maki --- crates/outline_panel/src/outline_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/outline_panel/src/outline_panel.rs b/crates/outline_panel/src/outline_panel.rs index 10ca2b07121a7014aca2e0ff19a9da6cf11afcc2..debff1fed114df998ba94ecb3d093e117831c2be 100644 --- a/crates/outline_panel/src/outline_panel.rs +++ b/crates/outline_panel/src/outline_panel.rs @@ -3785,7 +3785,7 @@ impl Render for OutlinePanel { } }), ) - .track_focus(&self.focus_handle(cx)); + .track_focus(&self.focus_handle); if self.cached_entries.is_empty() { let header = if self.updating_fs_entries {