Skip to content

Commit 5f38595

Browse files
committed
linted
1 parent bb60510 commit 5f38595

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/legend/draw.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -579,9 +579,9 @@ function computeLegendDimensions(gd, groups, traces) {
579579
traceGap = opts.tracegroupgap || 5;
580580

581581
if((borderwidth + startX + traceGap + traceWidth) > fullLayout.width - fullLayout.margin.r) {
582-
startX = 0;
583-
rowHeight = rowHeight + maxTraceHeight;
584-
opts.height = opts.height + maxTraceHeight;
582+
startX = 0;
583+
rowHeight = rowHeight + maxTraceHeight;
584+
opts.height = opts.height + maxTraceHeight;
585585
}
586586

587587
opts.width += traceGap + traceWidth;

0 commit comments

Comments
 (0)