Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix action dispatching...
Conrad Irwin06f3c60be836
diff --git a/crates/editor2/src/editor.rs b/crates/editor2/src/editor.rsindex 20b970d6720..0995bbd5340 100644--- a/crates/editor2/src/editor.rs+++ b/crates/editor2/src/editor.rs@@ -9383,7 +9383,7 @@ impl Render for Editor {color: cx.theme().colors().text,font_family: "Zed Sans".into(), // todo!()font_features: FontFeatures::default(),- font_size: rems(1.0).into(),+ font_size: settings.ui_font_size.into(),font_weight: FontWeight::NORMAL,font_style: FontStyle::Normal,line_height: relative(1.3).into(), // TODO relative(settings.buffer_line_height.value()),diff --git a/crates/gpui2/src/window.rs b/crates/gpui2/src/window.rsindex 425fb9510fd..450b36ea81b 100644--- a/crates/gpui2/src/window.rs+++ b/crates/gpui2/src/window.rs@@ -424,6 +424,7 @@ impl<'a> WindowContext<'a> {.dispatch_tree.focusable_node_id(focus_handle.id){+ cx.propagate_event = true;cx.dispatch_action_on_node(node_id, action);}})