Change summary
crates/editor2/src/editor.rs | 2 +-
crates/gpui2/src/window.rs | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
Detailed changes
@@ -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()),
@@ -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);
}
})