Fossil SCM
In the timeline graph, avoid drawing risers to the top for timewarp nodes.
Commit
e80667191a17273ca760cfe3e837c2871eee29b658ee1297683b4b5470edc8f8
Parent
7ac88481a69ddb5…
1 file changed
+1
-1
+1
-1
| --- src/graph.c | ||
| +++ src/graph.c | ||
| @@ -534,11 +534,11 @@ | ||
| 534 | 534 | mask = BIT(pRow->iRail); |
| 535 | 535 | pRow->railInUse |= mask; |
| 536 | 536 | if( pRow->pChild ){ |
| 537 | 537 | assignChildrenToRail(pRow); |
| 538 | 538 | }else if( !omitDescenders && count_nonbranch_children(pRow->rid)!=0 ){ |
| 539 | - riser_to_top(pRow); | |
| 539 | + if( !pRow->timeWarp ) riser_to_top(pRow); | |
| 540 | 540 | } |
| 541 | 541 | if( pParent ){ |
| 542 | 542 | for(pLoop=pParent->pPrev; pLoop && pLoop!=pRow; pLoop=pLoop->pPrev){ |
| 543 | 543 | pLoop->railInUse |= mask; |
| 544 | 544 | } |
| 545 | 545 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -534,11 +534,11 @@ | |
| 534 | mask = BIT(pRow->iRail); |
| 535 | pRow->railInUse |= mask; |
| 536 | if( pRow->pChild ){ |
| 537 | assignChildrenToRail(pRow); |
| 538 | }else if( !omitDescenders && count_nonbranch_children(pRow->rid)!=0 ){ |
| 539 | riser_to_top(pRow); |
| 540 | } |
| 541 | if( pParent ){ |
| 542 | for(pLoop=pParent->pPrev; pLoop && pLoop!=pRow; pLoop=pLoop->pPrev){ |
| 543 | pLoop->railInUse |= mask; |
| 544 | } |
| 545 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -534,11 +534,11 @@ | |
| 534 | mask = BIT(pRow->iRail); |
| 535 | pRow->railInUse |= mask; |
| 536 | if( pRow->pChild ){ |
| 537 | assignChildrenToRail(pRow); |
| 538 | }else if( !omitDescenders && count_nonbranch_children(pRow->rid)!=0 ){ |
| 539 | if( !pRow->timeWarp ) riser_to_top(pRow); |
| 540 | } |
| 541 | if( pParent ){ |
| 542 | for(pLoop=pParent->pPrev; pLoop && pLoop!=pRow; pLoop=pLoop->pPrev){ |
| 543 | pLoop->railInUse |= mask; |
| 544 | } |
| 545 |