Permalink
Browse files

Fix location of rectangle for left position

  • Loading branch information...
1 parent 51a162d commit d1bea672547867d5df7f4efc14c64384a3d117d1 @kbroman committed Jun 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/d3.tip.js
View
@@ -97,7 +97,7 @@ d3.svg.tip = function() {
},
left: function() {
- stem.attr('transform', 'translate(' + backingRect.width + ',' + (backingRect.height / 2) + ') rotate(-90)');
+ stem.attr('transform', 'translate(' + (backingRect.width + (stemRect.height/2)) + ',' + (backingRect.height / 2) + ') rotate(-90)');
containerRect = container.node().getBBox()
x = targetRect.x - (stemRect.height / 2) + tipOffset[0];

0 comments on commit d1bea67

Please sign in to comment.