z index reflow better, much more robust aainst small canvases

This commit is contained in:
Peter Cottle 2012-12-19 15:48:18 -08:00
parent 029456e3d8
commit 10d9faa7da
3 changed files with 2 additions and 24 deletions

View file

@ -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();
});
};