wgui: new_pass attrib, refactoring
This commit is contained in:
@@ -59,8 +59,8 @@ pub fn parse_widget_rectangle<'a>(
|
||||
.layout
|
||||
.add_child(parent_id, WidgetRectangle::create(params), style)?;
|
||||
|
||||
parse_widget_universal(ctx, widget.id, attribs);
|
||||
parse_widget_universal(ctx, &widget, attribs);
|
||||
parse_children(file, ctx, node, widget.id)?;
|
||||
|
||||
Ok(widget.id)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user