mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-14 08:34:26 +02:00
rollup stuff
This commit is contained in:
parent
866749bad5
commit
44322298ba
4 changed files with 35 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue