Skip to content

Commit 76a9826

Browse files
Filmbostock
authored andcommitted
fix waffle stroke (when constant)
1 parent 27e8fff commit 76a9826

File tree

8 files changed

+737
-31
lines changed

8 files changed

+737
-31
lines changed

src/marks/waffle.js

Lines changed: 1 addition & 1 deletion
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

Lines changed: 12 additions & 12 deletions
Loading

test/output/waffleStrokeMixed.svg

Lines changed: 6 additions & 6 deletions
Loading

0 commit comments

Comments
 (0)