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:
Agus ZubiagaandRichard authored and GitHub committed 2025-01-21 16:02:52 -03:00
1 parent b672531c1c
commit 6e9477d054
1 file changed
+3 -1
+3 -1
View File
@@ -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);