Root commit regression Issue #100

This commit is contained in:
Peter Cottle 2013-06-29 00:22:41 -07:00
parent fad9661f30
commit 62317b8d4c
6 changed files with 12 additions and 3 deletions

View file

@ -88,6 +88,9 @@ var VisBranch = VisBase.extend({
var overThreshold = (visNode.get('pos').x > threshold);
// easy logic first
if (commit.get('id') === 'C0') {
return -1;
}
if (!this.get('isHead')) {
return (overThreshold) ? -1 : 1;
}