Fossil SCM
Fix off-by-one with top-of-page descending rails
Commit
550f245af4317e5f135db2b653fae9c6bcc1e2f5
Parent
529c07af9861afc…
1 file changed
+1
-1
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -800,11 +800,11 @@ | ||
| 800 | 800 | @ if( p.f&1 ) drawNodeBox(leafColor,p.x-1,p.y-1,p.x+2,p.y+2); |
| 801 | 801 | @ /* Branch rail to CheckIn's node */ |
| 802 | 802 | @ if( p.u>0 ) drawRail(p.x, rowinfo[p.u-1].y+6, p.y-6, rowinfo[p.u-1].bg); |
| 803 | 803 | if( !omitDescenders ){ |
| 804 | 804 | @ /* Branch rails from bottom or to top of page */ |
| 805 | - @ if( p.u==0 ) drawRail(p.x, 0, p.y-5,p.bg); | |
| 805 | + @ if( p.u==0 ) drawRail(p.x, 0, p.y-6,p.bg); | |
| 806 | 806 | @ if( p.d ) drawRail(p.x, p.y+6, btm,p.bg); |
| 807 | 807 | } |
| 808 | 808 | @ /* MergeOut horizontal rail */ |
| 809 | 809 | @ if( p.mo>0 ){ |
| 810 | 810 | @ var x1 = p.mo + left - 1; |
| 811 | 811 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -800,11 +800,11 @@ | |
| 800 | @ if( p.f&1 ) drawNodeBox(leafColor,p.x-1,p.y-1,p.x+2,p.y+2); |
| 801 | @ /* Branch rail to CheckIn's node */ |
| 802 | @ if( p.u>0 ) drawRail(p.x, rowinfo[p.u-1].y+6, p.y-6, rowinfo[p.u-1].bg); |
| 803 | if( !omitDescenders ){ |
| 804 | @ /* Branch rails from bottom or to top of page */ |
| 805 | @ if( p.u==0 ) drawRail(p.x, 0, p.y-5,p.bg); |
| 806 | @ if( p.d ) drawRail(p.x, p.y+6, btm,p.bg); |
| 807 | } |
| 808 | @ /* MergeOut horizontal rail */ |
| 809 | @ if( p.mo>0 ){ |
| 810 | @ var x1 = p.mo + left - 1; |
| 811 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -800,11 +800,11 @@ | |
| 800 | @ if( p.f&1 ) drawNodeBox(leafColor,p.x-1,p.y-1,p.x+2,p.y+2); |
| 801 | @ /* Branch rail to CheckIn's node */ |
| 802 | @ if( p.u>0 ) drawRail(p.x, rowinfo[p.u-1].y+6, p.y-6, rowinfo[p.u-1].bg); |
| 803 | if( !omitDescenders ){ |
| 804 | @ /* Branch rails from bottom or to top of page */ |
| 805 | @ if( p.u==0 ) drawRail(p.x, 0, p.y-6,p.bg); |
| 806 | @ if( p.d ) drawRail(p.x, p.y+6, btm,p.bg); |
| 807 | } |
| 808 | @ /* MergeOut horizontal rail */ |
| 809 | @ if( p.mo>0 ){ |
| 810 | @ var x1 = p.mo + left - 1; |
| 811 |