[Pkg-javascript-commits] [d3-tip.js] 06/277: stem mostly working

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

bhuvan-guest pushed a commit to branch master
in repository d3-tip.js.

commit 7c053295020341be6ac69840f0f19f0bac6cc029
Author: Justin Palmer <justin at labratrevenge.com>
Date:   Sat Jan 7 12:35:46 2012 -0800

    stem mostly working
---
 src/d3.tip.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/d3.tip.js b/src/d3.tip.js
index 98a373c..18cbebd 100644
--- a/src/d3.tip.js
+++ b/src/d3.tip.js
@@ -28,7 +28,6 @@ d3.svg.tip = function() {
           .attr('text-anchor', 'middle')
           .attr('alignment-baseline', 'middle'),
           sbbox = str.node().getBBox();
-      
 
       rect.attr('width', sbbox.width + pad * 2)
         .attr('height', sbbox.height + pad * 2)
@@ -43,7 +42,7 @@ d3.svg.tip = function() {
 
       str.attr('dx', rbbox.width / 2).attr('dy', rbbox.height / 2)
       group.attr('transform', "translate(" + x + "," + y + ")")
-      stem.attr('transform','translate(' + rbbox.width / 2 + ',' + (rbbox.height + stemBounds.height) + ')')
+      stem.attr('transform','translate(' + rbbox.width / 2 + ',' + (rbbox.height + stemBounds.height / 2) + ')')
     }    
   }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/d3-tip.js.git



More information about the Pkg-javascript-commits mailing list