mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-16 01:24:25 +02:00
[Origin] wow have tree string and undo working flawlessly, somewhat hacky but very robust all things considered
This commit is contained in:
parent
2938c3fb37
commit
cbcd489a31
10 changed files with 126 additions and 30 deletions
|
@ -277,7 +277,8 @@ var VisNode = VisBase.extend({
|
|||
_.each(this.get('outgoingEdges'), function(edge) {
|
||||
var headPos = edge.get('head').getScreenCoords();
|
||||
var path = edge.genSmoothBezierPathStringFromCoords(parentCoords, headPos);
|
||||
edge.get('path').stop().attr({
|
||||
edge.get('path').stop();
|
||||
edge.get('path').attr({
|
||||
path: path,
|
||||
opacity: 0
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue