Fossil SCM
Further refinement of the time-warp graph rendering.
Commit
9b9d52bbb9c5b60a4dd9a2d384ab95f99e4e27e4
Parent
79b81a31c0daa6a…
1 file changed
+1
+1
| --- src/graph.c | ||
| +++ src/graph.c | ||
| @@ -388,10 +388,11 @@ | ||
| 388 | 388 | pParent->aiRiser[pRow->iRail] = pRow->idx; |
| 389 | 389 | }else{ |
| 390 | 390 | /* Timewarp case: Child occurs earlier in time than parent and |
| 391 | 391 | ** appears below the parent in the timeline. */ |
| 392 | 392 | int iDownRail = ++p->mxRail; |
| 393 | + if( iDownRail<1 ) iDownRail = ++p->mxRail; | |
| 393 | 394 | pRow->iRail = ++p->mxRail; |
| 394 | 395 | pRow->railInUse = 1<<pRow->iRail; |
| 395 | 396 | pParent->aiRiser[iDownRail] = pRow->idx; |
| 396 | 397 | mask = 1<<iDownRail; |
| 397 | 398 | for(pLoop=p->pFirst; pLoop; pLoop=pLoop->pNext){ |
| 398 | 399 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -388,10 +388,11 @@ | |
| 388 | pParent->aiRiser[pRow->iRail] = pRow->idx; |
| 389 | }else{ |
| 390 | /* Timewarp case: Child occurs earlier in time than parent and |
| 391 | ** appears below the parent in the timeline. */ |
| 392 | int iDownRail = ++p->mxRail; |
| 393 | pRow->iRail = ++p->mxRail; |
| 394 | pRow->railInUse = 1<<pRow->iRail; |
| 395 | pParent->aiRiser[iDownRail] = pRow->idx; |
| 396 | mask = 1<<iDownRail; |
| 397 | for(pLoop=p->pFirst; pLoop; pLoop=pLoop->pNext){ |
| 398 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -388,10 +388,11 @@ | |
| 388 | pParent->aiRiser[pRow->iRail] = pRow->idx; |
| 389 | }else{ |
| 390 | /* Timewarp case: Child occurs earlier in time than parent and |
| 391 | ** appears below the parent in the timeline. */ |
| 392 | int iDownRail = ++p->mxRail; |
| 393 | if( iDownRail<1 ) iDownRail = ++p->mxRail; |
| 394 | pRow->iRail = ++p->mxRail; |
| 395 | pRow->railInUse = 1<<pRow->iRail; |
| 396 | pParent->aiRiser[iDownRail] = pRow->idx; |
| 397 | mask = 1<<iDownRail; |
| 398 | for(pLoop=p->pFirst; pLoop; pLoop=pLoop->pNext){ |
| 399 |