mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 16:08:34 +02:00
BOOM commit birthing animation done and animation factory fleshed out
This commit is contained in:
parent
bc4b9246eb
commit
23ee6944e2
6 changed files with 106 additions and 20 deletions
|
@ -81,12 +81,12 @@ GitVisuals.prototype.toScreenCoords = function(pos) {
|
|||
|
||||
**************************************/
|
||||
|
||||
GitVisuals.prototype.refreshTree = function() {
|
||||
GitVisuals.prototype.refreshTree = function(speed) {
|
||||
// this method can only be called after graphics are rendered
|
||||
this.calcTreeCoords();
|
||||
this.calcGraphicsCoords();
|
||||
|
||||
this.animateAll();
|
||||
this.animateAll(speed);
|
||||
};
|
||||
|
||||
GitVisuals.prototype.refreshTreeHarsh = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue