mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 15:38:33 +02:00
awesome now we are using it for commit animations
This commit is contained in:
parent
c8d117073f
commit
f438948660
2 changed files with 18 additions and 3 deletions
|
@ -921,7 +921,12 @@ GitEngine.prototype.commitStarter = function() {
|
|||
|
||||
newCommit.set('commitMessage', msg);
|
||||
}
|
||||
this.animationFactory.genCommitBirthAnimation(this.animationQueue, newCommit, this.gitVisuals);
|
||||
|
||||
var promise = this.animationFactory.playCommitBirthPromiseAnimation(
|
||||
newCommit,
|
||||
this.gitVisuals
|
||||
);
|
||||
this.animationQueue.thenFinish(promise);
|
||||
};
|
||||
|
||||
GitEngine.prototype.commit = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue