diff --git a/xilem_web/src/svg/kurbo_shape.rs b/xilem_web/src/svg/kurbo_shape.rs index 8a9795387..cbfbe697a 100644 --- a/xilem_web/src/svg/kurbo_shape.rs +++ b/xilem_web/src/svg/kurbo_shape.rs @@ -196,7 +196,7 @@ impl OrphanView (Self::OrphanElement, Self::OrphanViewState) { create_element("path", ctx, 1, |element, ctx| { let mut element = Self::OrphanElement::from_with_ctx(element, ctx); - element.props.attributes().push(("path", view.to_svg())); + element.props.attributes().push(("d", view.to_svg())); (element, ()) }) } @@ -211,9 +211,9 @@ impl OrphanView