commit | 1eb2dd1162f076c50c61d0acd225d8d45a064879 | [log] [tgz] |
---|---|---|
author | Paul Greyson <someone.named.paul@gmail.com> | Sat Mar 23 18:22:00 2013 -0700 |
committer | Paul Greyson <someone.named.paul@gmail.com> | Sat Mar 23 18:22:00 2013 -0700 |
tree | 98dc8440d76f91bb94edb5e95953d5f8184a318a | |
parent | 9066ab06ecb090eadbe6f38a18335dc68a8c63c7 [diff] |
tweaking label position
diff --git a/web/ons-demo/js/app.js b/web/ons-demo/js/app.js index 1464f84..ca8d6d3 100644 --- a/web/ons-demo/js/app.js +++ b/web/ons-demo/js/app.js
@@ -260,9 +260,9 @@ .attr("x", function (data) { if (data.angle <= 90 || data.angle >= 270 && data.angle <= 360) { if (data.className == 'edge') { - return - data.width*3 + 4; + return - data.width*3 - 4; } else { - return - data.width + 4; + return - data.width - 4; } } else { if (data.className == 'edge') {