Fix context menu in tab bar
This commit is contained in:
parent
3d5b903f78
commit
3de72f8366
10 changed files with 100 additions and 30 deletions
|
@ -763,6 +763,7 @@ impl Render for LspLogToolbarItemView {
|
|||
))
|
||||
.entry(
|
||||
SERVER_LOGS,
|
||||
None,
|
||||
cx.handler_for(&log_view, move |view, cx| {
|
||||
view.show_logs_for_server(row.server_id, cx);
|
||||
}),
|
||||
|
|
|
@ -459,6 +459,7 @@ impl SyntaxTreeToolbarItemView {
|
|||
layer.language.name(),
|
||||
format_node_range(layer.node())
|
||||
),
|
||||
None,
|
||||
cx.handler_for(&view, move |view, cx| {
|
||||
view.select_layer(layer_ix, cx);
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue