Skip to content

Commit 264e64c

Browse files
committed
spurious stroke on catchment rect
1 parent 36d34dd commit 264e64c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/marks/lasso.js

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export class Lasso extends Mark {
4141
.attr("y", marginTop)
4242
.attr("width", width - marginLeft - marginRight)
4343
.attr("height", height - marginTop - marginBottom)
44+
.attr("stroke", "none")
4445
.attr("fill", "none")
4546
.attr("cursor", "cross") // TODO
4647
.attr("pointer-events", "all")

test/output/penguinCulmenLasso.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
<circle cx="32.58333333333335" cy="155.67272727272726" r="3"></circle>
433433
</g>
434434
<g aria-label="lasso" fill="green" fill-opacity="0.3" stroke="#666" stroke-width="2">
435-
<rect x="0" y="30" width="161" height="240" fill="none" cursor="cross" pointer-events="all" fill-rule="evenodd"></rect>
435+
<rect x="0" y="30" width="161" height="240" stroke="none" fill="none" cursor="cross" pointer-events="all" fill-rule="evenodd"></rect>
436436
</g>
437437
</g>
438438
<g transform="translate(219,0)">
@@ -784,7 +784,7 @@
784784
<circle cx="57.50000000000003" cy="114.65454545454547" r="3"></circle>
785785
</g>
786786
<g aria-label="lasso" fill="green" fill-opacity="0.3" stroke="#666" stroke-width="2">
787-
<rect x="0" y="30" width="161" height="240" fill="none" cursor="cross" pointer-events="all" fill-rule="evenodd"></rect>
787+
<rect x="0" y="30" width="161" height="240" stroke="none" fill="none" cursor="cross" pointer-events="all" fill-rule="evenodd"></rect>
788788
</g>
789789
</g>
790790
<g transform="translate(398,0)">
@@ -1136,7 +1136,7 @@
11361136
<circle cx="49.83333333333333" cy="161.78181818181818" r="3"></circle>
11371137
</g>
11381138
<g aria-label="lasso" fill="green" fill-opacity="0.3" stroke="#666" stroke-width="2">
1139-
<rect x="0" y="30" width="161" height="240" fill="none" cursor="cross" pointer-events="all" fill-rule="evenodd"></rect>
1139+
<rect x="0" y="30" width="161" height="240" stroke="none" fill="none" cursor="cross" pointer-events="all" fill-rule="evenodd"></rect>
11401140
</g>
11411141
</g>
11421142
</g>

0 commit comments

Comments
 (0)