Fix action dispatching...
This commit is contained in:
parent
abdaa3105b
commit
06f3c60be8
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue