Fossil

Check-in [6267e24b39]
Login

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

Overview
Comment:More aggressively compress uparrows in the timeline when the length of the arrow is short.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6267e24b39dc2b9ab9b02b2d5cd990da9db2fa6e
User & Date: drh 2013-02-14 21:58:42.577
Context
2013-02-15
14:52
Fix the file: sync protocol so that it works on windows even if the client repository is in a directory that contains non-ASCII characters in its name. ... (check-in: b5aab69514 user: drh tags: trunk)
2013-02-14
21:58
More aggressively compress uparrows in the timeline when the length of the arrow is short. ... (check-in: 6267e24b39 user: drh tags: trunk)
21:51
In the timeline graph, always display the black dot in the middle of leaf nodes even when ascenders and descenders are omitted, such as on an f= graph. ... (check-in: 162538351d user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/timeline.c.
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
    @       left += obj.offsetLeft;
    @     }while( obj = obj.offsetParent );
    @   }
    @   return left;
    @ }
    @ function drawUpArrow(x,y0,y1){
    @   drawBox("black",x,y0,x+1,y1);
    @   if( y0+8>=y1 ){
    @     drawBox("black",x-1,y0+1,x+2,y0+2);
    @     drawBox("black",x-2,y0+3,x+3,y0+4);
    @   }else{
    @     drawBox("black",x-1,y0+2,x+2,y0+4);
    @     drawBox("black",x-2,y0+5,x+3,y0+7);
    @   }
    @ }







|







632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
    @       left += obj.offsetLeft;
    @     }while( obj = obj.offsetParent );
    @   }
    @   return left;
    @ }
    @ function drawUpArrow(x,y0,y1){
    @   drawBox("black",x,y0,x+1,y1);
    @   if( y0+10>=y1 ){
    @     drawBox("black",x-1,y0+1,x+2,y0+2);
    @     drawBox("black",x-2,y0+3,x+3,y0+4);
    @   }else{
    @     drawBox("black",x-1,y0+2,x+2,y0+4);
    @     drawBox("black",x-2,y0+5,x+3,y0+7);
    @   }
    @ }