Close syntax tree view menu on click too

This commit is contained in:
Kirill Bulatov 2023-12-20 18:28:32 +02:00
parent 331af82cb1
commit fc923a2a98

View file

@ -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(())
})
}