Fossil

Check-in [377844c1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a single-character error in the graph JS for the previous check-in.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | graph-improvements
Files: files | file ages | folders
SHA3-256: 377844c16c2b41267a64f288a5c0b593e591ae1b32de291b8fbf51828eca5209
User & Date: drh 2019-05-16 22:55:58
Context
2019-05-17
01:42
Adjust the graph display flags for various query parameters to /timeline. check-in: 1695ddbd user: drh tags: graph-improvements
2019-05-16
22:55
Fix a single-character error in the graph JS for the previous check-in. check-in: 377844c1 user: drh tags: graph-improvements
22:53
Improved merge risers for nodes with risers pointing to the top of screen. check-in: aa854c87 user: drh tags: graph-improvements
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/graph.js.

275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
      }
    }
    if( p.hasOwnProperty('mo') ){
      var x0 = p.x + node.w/2;
      var x1 = p.mo*railPitch + node.w/2;
      var u = tx.rowinfo[p.mu-tx.iTopRow];
      var y1 = miLineY(u);
      if( p.u<0 || p.mo!=p.r ){
        if( p.u==0 && p.mo==p.r ){
          mergeLines[p.mo] = u.r<p.r ? -mergeOffset-mLine.w : mergeOffset;
        }else{
          mergeLines[p.mo] = -mLine.w/2;
        }
        x1 += mergeLines[p.mo]
        var y0 = p.y+2;







|







275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
      }
    }
    if( p.hasOwnProperty('mo') ){
      var x0 = p.x + node.w/2;
      var x1 = p.mo*railPitch + node.w/2;
      var u = tx.rowinfo[p.mu-tx.iTopRow];
      var y1 = miLineY(u);
      if( p.u<=0 || p.mo!=p.r ){
        if( p.u==0 && p.mo==p.r ){
          mergeLines[p.mo] = u.r<p.r ? -mergeOffset-mLine.w : mergeOffset;
        }else{
          mergeLines[p.mo] = -mLine.w/2;
        }
        x1 += mergeLines[p.mo]
        var y0 = p.y+2;