Skip to content

Commit b1cee56

Browse files
committed
fix outline stroke color
1 parent c8e9c2c commit b1cee56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/selections/select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ function prepSelect(evt, startX, startY, dragOptions, mode) {
120120
fill: (isDrawMode && !isOpenMode) ? newStyle.fillcolor : 'none',
121121
stroke: newStyle.line.color || (
122122
isCartesian ?
123-
'#7f7f7f' : // non-cartesian subplot
124-
Color.contrast(gd._fullLayout.plot_bgcolor) // cartesian subplot
123+
Color.contrast(gd._fullLayout.plot_bgcolor) :
124+
'#7f7f7f' // non-cartesian subplot
125125
),
126126
'stroke-dasharray': dashStyle(newStyle.line.dash, newStyle.line.width),
127127
'stroke-width': newStyle.line.width + 'px',

0 commit comments

Comments
 (0)