Browse Source

Fix Compile Error (#2302)

pull/2307/head
Philip Wedemann 2 years ago committed by GitHub
parent
commit
471d5c652d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      web/svg/src/jsMain/kotlin/org/jetbrains/compose/web/svg/svg.kt

4
web/svg/src/jsMain/kotlin/org/jetbrains/compose/web/svg/svg.kt

@ -495,7 +495,7 @@ fun ElementScope<SVGElement>.Polygon(
TagElement( TagElement(
elementBuilder = Polygon, elementBuilder = Polygon,
applyAttrs = { applyAttrs = {
points(points) points(points = points)
attrs?.invoke(this) attrs?.invoke(this)
}, },
content = content content = content
@ -512,7 +512,7 @@ fun ElementScope<SVGElement>.Polyline(
TagElement( TagElement(
elementBuilder = Polyline, elementBuilder = Polyline,
applyAttrs = { applyAttrs = {
points(points) points(points = points)
attrs?.invoke(this) attrs?.invoke(this)
}, },
content = content content = content

Loading…
Cancel
Save