From 10d9faa7da07eba68c707b414612f14373de42a5 Mon Sep 17 00:00:00 2001 From: Peter Cottle Date: Wed, 19 Dec 2012 15:48:18 -0800 Subject: [PATCH] z index reflow better, much more robust aainst small canvases --- build/bundle.js | 14 -------------- src/js/visuals/index.js | 7 ------- todo.txt | 5 ++--- 3 files changed, 2 insertions(+), 24 deletions(-) diff --git a/build/bundle.js b/build/bundle.js index 2635db88..30583f0b 100644 --- a/build/bundle.js +++ b/build/bundle.js @@ -10087,10 +10087,6 @@ GitVisuals.prototype.addEdge = function(idTail, idHead) { } }; -GitVisuals.prototype.collectionChanged = function() { - // TODO ? -}; - GitVisuals.prototype.zIndexReflow = function() { this.visNodesFront(); this.visBranchesFront(); @@ -10105,9 +10101,6 @@ GitVisuals.prototype.visNodesFront = function() { GitVisuals.prototype.visBranchesFront = function() { this.visBranchCollection.each(function(vBranch) { vBranch.nonTextToFront(); - }); - - this.visBranchCollection.each(function(vBranch) { vBranch.textToFront(); }); }; @@ -15473,10 +15466,6 @@ GitVisuals.prototype.addEdge = function(idTail, idHead) { } }; -GitVisuals.prototype.collectionChanged = function() { - // TODO ? -}; - GitVisuals.prototype.zIndexReflow = function() { this.visNodesFront(); this.visBranchesFront(); @@ -15491,9 +15480,6 @@ GitVisuals.prototype.visNodesFront = function() { GitVisuals.prototype.visBranchesFront = function() { this.visBranchCollection.each(function(vBranch) { vBranch.nonTextToFront(); - }); - - this.visBranchCollection.each(function(vBranch) { vBranch.textToFront(); }); }; diff --git a/src/js/visuals/index.js b/src/js/visuals/index.js index fb2b1e59..1c38c776 100644 --- a/src/js/visuals/index.js +++ b/src/js/visuals/index.js @@ -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(); }); }; diff --git a/todo.txt b/todo.txt index 0d63ca88..0ab7dc11 100644 --- a/todo.txt +++ b/todo.txt @@ -9,11 +9,9 @@ Big Graphic things: Medium things: ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ ] check animations [ ] view for anything above the fold [ ] rebase styling (get it better. even cuter -- make it like a command window) [ ] fix multiple rebases -[ ] z index reflow update Small things to implement: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -28,11 +26,12 @@ Big Bugs to fix: ** Publish Things ** ************************************/ - cross browser support... ? -- fix terminal input when extra long +- fix terminal input field in general Done things: (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] refactor visualization [x] aliases replace when put into commands