Skip to content

Commit c68ed58

Browse files
committed
Legend.draw: Add missing select('rect')
1 parent 5ef69b3 commit c68ed58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/legend/draw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ module.exports = function draw(gd) {
227227
width: opts.width - 2 * opts.borderwidth + constants.scrollBarWidth
228228
});
229229

230-
clipPath.attr({
230+
clipPath.select('rect').attr({
231231
width: opts.width + constants.scrollBarWidth
232232
});
233233

0 commit comments

Comments
 (0)