Commit 8675c31e authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Tooltip: fix arrow separating from tooltip

parent 2230a917
......@@ -932,7 +932,7 @@
var sideValue = center - popper[side];
// prevent arrow from being placed not contiguously to its popper
sideValue = Math.max(Math.min(popper[len] - arrowSize, sideValue), 0);
sideValue = Math.max(Math.min(popper[len] - arrowSize - 3, sideValue), 3);
arrowStyle[side] = sideValue;
arrowStyle[altSide] = ''; // make sure to remove any old style from the arrow
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment