Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
debugger: Fix allow showing more than 1 compact session item (#37036)
Remco Smits64b6e8ba0fd4
diff --git a/crates/debugger_ui/src/dropdown_menus.rs b/crates/debugger_ui/src/dropdown_menus.rsindex c611d5d44f3..376a4a41ce7 100644--- a/crates/debugger_ui/src/dropdown_menus.rs+++ b/crates/debugger_ui/src/dropdown_menus.rs@@ -113,23 +113,6 @@ impl DebugPanel {}};session_entries.push(root_entry);-- session_entries.extend(- sessions_with_children- .by_ref()- .take_while(|(session, _)| {- session- .read(cx)- .session(cx)- .read(cx)- .parent_id(cx)- .is_some()- })- .map(|(session, _)| SessionListEntry {- leaf: session.clone(),- ancestors: vec![],- }),- );}let weak = cx.weak_entity();