Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/traces/scattergl/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ function convertMarkerStyle(trace) {
// See https://github.com/plotly/plotly.js/pull/1781#discussion_r121820798
if(multiLineWidth) {
for(i = 0; i < count; i++) {
borderSizes[i] = markerSizeFunc(optsIn.line.width[i]);
borderSizes[i] = optsIn.line.width[i] / 2;
}
} else {
s = markerSizeFunc(optsIn.line.width);
s = optsIn.line.width / 2;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before this commit, gl2d_transforms looked like:

image

for(i = 0; i < count; i++) {
borderSizes[i] = s;
}
Expand Down