mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-24 23:18:35 +02:00
z index reflow better, much more robust aainst small canvases
This commit is contained in:
parent
029456e3d8
commit
10d9faa7da
3 changed files with 2 additions and 24 deletions
|
@ -668,10 +668,6 @@ GitVisuals.prototype.addEdge = function(idTail, idHead) {
|
|||
}
|
||||
};
|
||||
|
||||
GitVisuals.prototype.collectionChanged = function() {
|
||||
// TODO ?
|
||||
};
|
||||
|
||||
GitVisuals.prototype.zIndexReflow = function() {
|
||||
this.visNodesFront();
|
||||
this.visBranchesFront();
|
||||
|
@ -686,9 +682,6 @@ GitVisuals.prototype.visNodesFront = function() {
|
|||
GitVisuals.prototype.visBranchesFront = function() {
|
||||
this.visBranchCollection.each(function(vBranch) {
|
||||
vBranch.nonTextToFront();
|
||||
});
|
||||
|
||||
this.visBranchCollection.each(function(vBranch) {
|
||||
vBranch.textToFront();
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue