Wrap back around in context menu properly (#34112)
When navigating back in the context menu, it was not possible to get past first element, if it was not selectable. The other way around works, hence the fix. Release Notes: - N/A
This commit is contained in:
parent
1569b662ff
commit
45d200f2f8
3 changed files with 81 additions and 13 deletions
|
@ -735,8 +735,6 @@ impl LspTool {
|
|||
state.update(cx, |state, cx| state.fill_menu(menu, cx))
|
||||
});
|
||||
lsp_tool.lsp_menu = Some(menu.clone());
|
||||
// TODO kb will this work?
|
||||
// what about the selections?
|
||||
lsp_tool.popover_menu_handle.refresh_menu(
|
||||
window,
|
||||
cx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue