|
@ -1941,8 +1941,9 @@ Graph3d.prototype._onMouseUp = function (event) { |
|
|
*/ |
|
|
*/ |
|
|
Graph3d.prototype._onTooltip = function (event) { |
|
|
Graph3d.prototype._onTooltip = function (event) { |
|
|
var delay = 300; // ms
|
|
|
var delay = 300; // ms
|
|
|
var mouseX = getMouseX(event) - util.getAbsoluteLeft(this.frame); |
|
|
|
|
|
var mouseY = getMouseY(event) - util.getAbsoluteTop(this.frame); |
|
|
|
|
|
|
|
|
var boundingRect = this.frame.getBoundingClientRect(); |
|
|
|
|
|
var mouseX = getMouseX(event) - boundingRect.left; |
|
|
|
|
|
var mouseY = getMouseY(event) - boundingRect.top; |
|
|
|
|
|
|
|
|
if (!this.showTooltip) { |
|
|
if (!this.showTooltip) { |
|
|
return; |
|
|
return; |
|
|