mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-16 01:24:25 +02:00
damn. really nice finish animation now, albeit a bit of a tangent
This commit is contained in:
parent
ebaae41a38
commit
029456e3d8
5 changed files with 208 additions and 46 deletions
|
@ -391,7 +391,7 @@ var VisNode = VisBase.extend({
|
|||
cy: y
|
||||
});
|
||||
// continuation calculation
|
||||
return (vx * vx + vy * vy > 0.01) ? true : false;
|
||||
return ((vx * vx + vy * vy) > 0.01) ? true : false;
|
||||
};
|
||||
return stepFunc;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue