Skip to content

Commit cd0b469

Browse files
committed
move unified hover by one pixel better help adjustment tested with period_positioning9 mock & horizontal variant
1 parent 4a0a504 commit cd0b469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/fx/hover.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ function createHoverText(hoverData, opts, gd) {
11651165
}
11661166
ly += HOVERTEXTPAD;
11671167

1168-
legendContainer.attr('transform', strTranslate(lx, ly));
1168+
legendContainer.attr('transform', strTranslate(lx - 1, ly - 1));
11691169
return legendContainer;
11701170
}
11711171

0 commit comments

Comments
 (0)