Skip to content

Commit

Permalink
style: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
w-lfchen committed Oct 10, 2024
1 parent 519516b commit af94655
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions crates/eww/src/widgets/build_widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,12 @@ fn build_children_special_widget(
)?;
} else {
for child in &custom_widget_invocation.children {
let scope =
tree.register_new_scope(String::from("child"), Some(custom_widget_invocation.scope), calling_scope, HashMap::new())?;
let scope = tree.register_new_scope(
String::from("child"),
Some(custom_widget_invocation.scope),
calling_scope,
HashMap::new(),
)?;
let child_widget = build_gtk_widget(tree, widget_defs.clone(), scope, child.clone(), None)?;
gtk_container.add(&child_widget);
}
Expand Down

0 comments on commit af94655

Please sign in to comment.