Skip to content

Commit

Permalink
Merge 03e4153 into 712ea62
Browse files Browse the repository at this point in the history
  • Loading branch information
exlexer committed Nov 14, 2019
2 parents 712ea62 + 03e4153 commit d98c8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/legends/discrete-color-legend-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function DiscreteColorLegendItem({
const strokeDasharrayStyle = STROKE_STYLES[strokeStyle] || strokeDasharray;
return (
<div {...{className, onClick, onMouseEnter, onMouseLeave}}>
<svg className="rv-discrete-color-legend-item__color" height={2} width={14}>
<svg className="rv-discrete-color-legend-item__color" height={strokeWidth ? strokeWidth : 2} width={14}>
<path
className="rv-discrete-color-legend-item__color__path"
d="M 0, 1 L 14, 1"
Expand Down

0 comments on commit d98c8a8

Please sign in to comment.