Skip to content

Commit 6f95f12

Browse files
Filmbostock
authored andcommitted
fix waffle stroke (when constant)
1 parent 54515cd commit 6f95f12

8 files changed

+737
-31
lines changed

src/marks/waffle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function waffleRender(y) {
104104
.join("L")}Z`
105105
)
106106
.attr("fill", (i) => `url(#${patternId}-${i})`)
107-
.attr("stroke", this.stroke == null ? null : (i) => `url(#${patternId}-${i})`)
107+
.attr("stroke", this.stroke == null ? null : "none")
108108
.call(applyChannelStyles, this, {ariaLabel, href, title})
109109
)
110110
.node();

test/output/waffleStroke.svg

+12-12
Loading

test/output/waffleStrokeMixed.svg

+6-6
Loading

0 commit comments

Comments
 (0)