Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
git: Prevent up and down motions leaking out of the commit editor (#26501)
Cole Millerd6255fb3d272
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rsindex 66f7d26d2ec..d46957c59f1 100644--- a/crates/git_ui/src/git_panel.rs+++ b/crates/git_ui/src/git_panel.rs@@ -2825,6 +2825,12 @@ impl GitPanel {.child(div().pr_2p5()+ .on_action(|&editor::actions::MoveUp, _, cx| {+ cx.stop_propagation();+ })+ .on_action(|&editor::actions::MoveDown, _, cx| {+ cx.stop_propagation();+ }).child(EditorElement::new(&self.commit_editor, panel_editor_style)),).child(