Fossil SCM
Check-mark alternative for closed branches.
Commit
62ab3a1d8020459034be1975ad39e843a1e4963b2ecc54129af82ad19a1d1e63
Parent
63785bd9111246a…
1 file changed
+4
-8
+4
-8
| --- src/graph.js | ||
| +++ src/graph.js | ||
| @@ -398,19 +398,15 @@ | ||
| 398 | 398 | n.onclick = clickOnNode; |
| 399 | 399 | n.ondblclick = dblclickOnNode; |
| 400 | 400 | n.onmousemove = mouseOverNode; |
| 401 | 401 | n.style.zIndex = 10; |
| 402 | 402 | if( p.f&2 ){ |
| 403 | - var pt1 = 0; | |
| 404 | - var pt2 = 100; | |
| 405 | - if( tx.circleNodes ){ | |
| 406 | - pt1 = 14; | |
| 407 | - pt2 = 86; | |
| 408 | - } | |
| 409 | 403 | n.innerHTML = "<svg width='100%' height='100%'viewbox='0 0 100 100'>" |
| 410 | - + `<path d='M ${pt1},${pt1} L ${pt2},${pt2} M ${pt1},${pt2} L ${pt2},${pt1}'` | |
| 411 | - + " stroke='currentcolor' stroke-width='13'/>" | |
| 404 | + + "<line x1='25' y1='55' x2='45' y2='75'" | |
| 405 | + + " stroke='currentcolor' stroke-width='15' stroke-linecap='round'/>" | |
| 406 | + + "<line x1='75' y1='30' x2='45' y2='75'" | |
| 407 | + + " stroke='currentcolor' stroke-width='15' stroke-linecap='round'/>" | |
| 412 | 408 | + "</svg>"; |
| 413 | 409 | } |
| 414 | 410 | if( !tx.omitDescenders ){ |
| 415 | 411 | if( p.u==0 ){ |
| 416 | 412 | if( p.hasOwnProperty('mo') && p.r==p.mo ){ |
| 417 | 413 |
| --- src/graph.js | |
| +++ src/graph.js | |
| @@ -398,19 +398,15 @@ | |
| 398 | n.onclick = clickOnNode; |
| 399 | n.ondblclick = dblclickOnNode; |
| 400 | n.onmousemove = mouseOverNode; |
| 401 | n.style.zIndex = 10; |
| 402 | if( p.f&2 ){ |
| 403 | var pt1 = 0; |
| 404 | var pt2 = 100; |
| 405 | if( tx.circleNodes ){ |
| 406 | pt1 = 14; |
| 407 | pt2 = 86; |
| 408 | } |
| 409 | n.innerHTML = "<svg width='100%' height='100%'viewbox='0 0 100 100'>" |
| 410 | + `<path d='M ${pt1},${pt1} L ${pt2},${pt2} M ${pt1},${pt2} L ${pt2},${pt1}'` |
| 411 | + " stroke='currentcolor' stroke-width='13'/>" |
| 412 | + "</svg>"; |
| 413 | } |
| 414 | if( !tx.omitDescenders ){ |
| 415 | if( p.u==0 ){ |
| 416 | if( p.hasOwnProperty('mo') && p.r==p.mo ){ |
| 417 |
| --- src/graph.js | |
| +++ src/graph.js | |
| @@ -398,19 +398,15 @@ | |
| 398 | n.onclick = clickOnNode; |
| 399 | n.ondblclick = dblclickOnNode; |
| 400 | n.onmousemove = mouseOverNode; |
| 401 | n.style.zIndex = 10; |
| 402 | if( p.f&2 ){ |
| 403 | n.innerHTML = "<svg width='100%' height='100%'viewbox='0 0 100 100'>" |
| 404 | + "<line x1='25' y1='55' x2='45' y2='75'" |
| 405 | + " stroke='currentcolor' stroke-width='15' stroke-linecap='round'/>" |
| 406 | + "<line x1='75' y1='30' x2='45' y2='75'" |
| 407 | + " stroke='currentcolor' stroke-width='15' stroke-linecap='round'/>" |
| 408 | + "</svg>"; |
| 409 | } |
| 410 | if( !tx.omitDescenders ){ |
| 411 | if( p.u==0 ){ |
| 412 | if( p.hasOwnProperty('mo') && p.r==p.mo ){ |
| 413 |