mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-04 19:54:29 +02:00
revert all done
This commit is contained in:
parent
a8fce5a4ab
commit
6931992316
3 changed files with 48 additions and 6 deletions
|
@ -88,6 +88,16 @@ AnimationFactory.prototype.playRefreshAnimationAndFinish = function(gitVisuals,
|
|||
animationQueue.thenFinish(animation.getPromise());
|
||||
};
|
||||
|
||||
AnimationFactory.prototype.playRefreshAnimation = function(gitVisuals) {
|
||||
var animation = new PromiseAnimation({
|
||||
closure: function() {
|
||||
gitVisuals.refreshTree();
|
||||
}
|
||||
});
|
||||
animation.play();
|
||||
return animation.getPromise();
|
||||
};
|
||||
|
||||
AnimationFactory.prototype.overrideOpacityDepth2 = function(attr, opacity) {
|
||||
opacity = (opacity === undefined) ? 1 : opacity;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue