assistant2: Propagate move up action to inline picker from message editor (#23416)
Release Notes: - N/A Co-authored-by: Richard <richard@zed.dev>
This commit is contained in:
parent
86ff88ae1d
commit
c825bb492d
1 changed files with 3 additions and 1 deletions
|
@ -241,7 +241,9 @@ impl MessageEditor {
|
|||
}
|
||||
|
||||
fn move_up(&mut self, _: &MoveUp, cx: &mut ViewContext<Self>) {
|
||||
if self.context_picker_menu_handle.is_deployed() {
|
||||
if self.context_picker_menu_handle.is_deployed()
|
||||
|| self.inline_context_picker_menu_handle.is_deployed()
|
||||
{
|
||||
cx.propagate();
|
||||
} else {
|
||||
cx.focus_view(&self.context_strip);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue