Fossil SCM

In the timeline graph, avoid drawing risers to the top for timewarp nodes.

drh 2018-06-07 13:38 trunk
Commit e80667191a17273ca760cfe3e837c2871eee29b658ee1297683b4b5470edc8f8
1 file changed +1 -1
+1 -1
--- src/graph.c
+++ src/graph.c
@@ -534,11 +534,11 @@
534534
mask = BIT(pRow->iRail);
535535
pRow->railInUse |= mask;
536536
if( pRow->pChild ){
537537
assignChildrenToRail(pRow);
538538
}else if( !omitDescenders && count_nonbranch_children(pRow->rid)!=0 ){
539
- riser_to_top(pRow);
539
+ if( !pRow->timeWarp ) riser_to_top(pRow);
540540
}
541541
if( pParent ){
542542
for(pLoop=pParent->pPrev; pLoop && pLoop!=pRow; pLoop=pLoop->pPrev){
543543
pLoop->railInUse |= mask;
544544
}
545545
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button