mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 01:10:04 +02:00
Root commit regression Issue #100
This commit is contained in:
parent
fad9661f30
commit
62317b8d4c
6 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue