mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-04 11:44:27 +02:00
ugly ugly bug with circular fields
This commit is contained in:
parent
1ed8a2524a
commit
bbf837a4b2
6 changed files with 36 additions and 18 deletions
|
@ -138,6 +138,9 @@ AnimationFactory.refreshTree = function(animationQueue, gitVisuals) {
|
|||
AnimationFactory.genHighlightPromiseAnimation = function(commit, destObj) {
|
||||
// could be branch or node
|
||||
var visObj = destObj.get('visBranch') || destObj.get('visNode');
|
||||
if (!visObj) {
|
||||
debugger;
|
||||
}
|
||||
var visNode = commit.get('visNode');
|
||||
return new PromiseAnimation(makeHighlightAnimation(visNode, visObj));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue