rollup stuff

This commit is contained in:
Peter Cottle 2012-11-03 11:53:25 -07:00
parent 866749bad5
commit 44322298ba
4 changed files with 35 additions and 3 deletions

View file

@ -559,6 +559,11 @@ var VisNode = VisBase.extend({
this.get('circle').stop().animate(attr.circle, s, e);
this.get('text').stop().animate(attr.text, s, e);
// animate the x attribute without bouncing so it looks like there's
// gravity in only one direction. Just a small animation polish
this.get('circle').animate(attr.circle.cx, s, 'easeInOut');
this.get('text').animate(attr.text.x, s, 'easeInOut');
},
getScreenCoords: function() {