Skip to content

Commit 415db54

Browse files
committed
merge with fil/waffle-stroke
2 parents 0233683 + aa8a463 commit 415db54

File tree

9 files changed

+757
-51
lines changed

9 files changed

+757
-51
lines changed

src/marks/waffle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function waffleRender(y) {
141141
.attr("transform", y === "y" ? template`translate(${x0},${y0})` : template`translate(${y0},${x0})`)
142142
.attr("d", (i) => `M${polygon[i].join("L")}Z`)
143143
.attr("fill", (i) => `url(#${patternId}-${i})`)
144-
.attr("stroke", this.stroke == null ? null : (i) => `url(#${patternId}-${i})`)
144+
.attr("stroke", this.stroke == null ? null : "none")
145145
.call(applyChannelStyles, this, {ariaLabel, href, title})
146146
)
147147
.node();

test/output/waffleShapes.svg

Lines changed: 20 additions & 20 deletions
Loading

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)