Add key context to ConversationEditor

Co-Authored-By: Marshall <marshall@zed.dev>
This commit is contained in:
Antonio Scandurra 2023-12-06 17:56:05 +01:00
parent a1c8f01ff3
commit 80f315106d

View file

@ -2474,6 +2474,7 @@ impl Render for ConversationEditor {
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
div()
.key_context("ConversationEditor")
.size_full()
.relative()
.capture_action(cx.listener(ConversationEditor::cancel_last_assist))