Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Close syntax tree view menu on click too
Kirill Bulatovfc923a2a9804
diff --git a/crates/language_tools2/src/syntax_tree_view.rs b/crates/language_tools2/src/syntax_tree_view.rsindex f0b03422cb2..dcdcb612b78 100644--- a/crates/language_tools2/src/syntax_tree_view.rs+++ b/crates/language_tools2/src/syntax_tree_view.rs@@ -480,6 +480,7 @@ impl SyntaxTreeToolbarItemView {buffer_state.active_layer = Some(layer.to_owned());view.selected_descendant_ix = None;cx.notify();+ view.focus_handle.focus(cx);Some(())})}