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

@ -10087,10 +10087,6 @@ GitVisuals.prototype.addEdge = function(idTail, idHead) {
} }
}; };
GitVisuals.prototype.collectionChanged = function() {
// TODO ?
};
GitVisuals.prototype.zIndexReflow = function() { GitVisuals.prototype.zIndexReflow = function() {
this.visNodesFront(); this.visNodesFront();
this.visBranchesFront(); this.visBranchesFront();
@ -10105,9 +10101,6 @@ GitVisuals.prototype.visNodesFront = function() {
GitVisuals.prototype.visBranchesFront = function() { GitVisuals.prototype.visBranchesFront = function() {
this.visBranchCollection.each(function(vBranch) { this.visBranchCollection.each(function(vBranch) {
vBranch.nonTextToFront(); vBranch.nonTextToFront();
});
this.visBranchCollection.each(function(vBranch) {
vBranch.textToFront(); vBranch.textToFront();
}); });
}; };
@ -15473,10 +15466,6 @@ GitVisuals.prototype.addEdge = function(idTail, idHead) {
} }
}; };
GitVisuals.prototype.collectionChanged = function() {
// TODO ?
};
GitVisuals.prototype.zIndexReflow = function() { GitVisuals.prototype.zIndexReflow = function() {
this.visNodesFront(); this.visNodesFront();
this.visBranchesFront(); this.visBranchesFront();
@ -15491,9 +15480,6 @@ GitVisuals.prototype.visNodesFront = function() {
GitVisuals.prototype.visBranchesFront = function() { GitVisuals.prototype.visBranchesFront = function() {
this.visBranchCollection.each(function(vBranch) { this.visBranchCollection.each(function(vBranch) {
vBranch.nonTextToFront(); vBranch.nonTextToFront();
});
this.visBranchCollection.each(function(vBranch) {
vBranch.textToFront(); vBranch.textToFront();
}); });
}; };

View file

@ -668,10 +668,6 @@ GitVisuals.prototype.addEdge = function(idTail, idHead) {
} }
}; };
GitVisuals.prototype.collectionChanged = function() {
// TODO ?
};
GitVisuals.prototype.zIndexReflow = function() { GitVisuals.prototype.zIndexReflow = function() {
this.visNodesFront(); this.visNodesFront();
this.visBranchesFront(); this.visBranchesFront();
@ -686,9 +682,6 @@ GitVisuals.prototype.visNodesFront = function() {
GitVisuals.prototype.visBranchesFront = function() { GitVisuals.prototype.visBranchesFront = function() {
this.visBranchCollection.each(function(vBranch) { this.visBranchCollection.each(function(vBranch) {
vBranch.nonTextToFront(); vBranch.nonTextToFront();
});
this.visBranchCollection.each(function(vBranch) {
vBranch.textToFront(); vBranch.textToFront();
}); });
}; };

View file

@ -9,11 +9,9 @@ Big Graphic things:
Medium things: Medium things:
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ ] check animations
[ ] view for anything above the fold [ ] view for anything above the fold
[ ] rebase styling (get it better. even cuter -- make it like a command window) [ ] rebase styling (get it better. even cuter -- make it like a command window)
[ ] fix multiple rebases [ ] fix multiple rebases
[ ] z index reflow update
Small things to implement: Small things to implement:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -28,11 +26,12 @@ Big Bugs to fix:
** Publish Things ** ** Publish Things **
************************************/ ************************************/
- cross browser support... ? - cross browser support... ?
- fix terminal input when extra long - fix terminal input field in general
Done things: Done things:
(I only started this on Dec 17th 2012 to get a better sense of what was done) (I only started this on Dec 17th 2012 to get a better sense of what was done)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[x] z index reflow update
[x] level finish animation [x] level finish animation
[x] refactor visualization [x] refactor visualization
[x] aliases replace when put into commands [x] aliases replace when put into commands