Fossil

Check-in [9a5169f5]
Login

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

Overview
Comment:Copy button comes before the hyperlink in tooltips.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9a5169f58581cc0d264fd617e8556def4e7a039ab628a3b7d6657265afac13dd
User & Date: drh 2019-06-10 01:32:32.151
Context
2019-06-10
01:37
Longer default hash length for the copy button on ticket view pages. ... (check-in: e055942c user: drh tags: trunk)
01:32
Copy button comes before the hyperlink in tooltips. ... (check-in: 9a5169f5 user: drh tags: trunk)
2019-06-08
18:29
Improved handling of timewarps in the graph layout. ... (check-in: 628fc32d user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/graph.js.
652
653
654
655
656
657
658
659

660
661
662
663
664
665
666
      }else{
        tooltipObj.style.backgroundColor = s.getPropertyValue('background-color')
      }
      tooltipObj.style.borderColor =
         tooltipObj.style.color = s.getPropertyValue('color')
      tooltipObj.style.visibility = "hidden"
      tooltipObj.innerHTML = html
      tooltipObj.appendChild(makeCopyButton("tooltip-link",true,0));

      tooltipObj.style.display = "inline"
      tooltipObj.style.position = "absolute"
      var x = tooltipInfo.posX + 4 + window.pageXOffset
                   - absoluteX(tooltipObj.offsetParent)
      tooltipObj.style.left = x+"px"
      var y = tooltipInfo.posY + window.pageYOffset
                   - tooltipObj.clientHeight - 4







|
>







652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
      }else{
        tooltipObj.style.backgroundColor = s.getPropertyValue('background-color')
      }
      tooltipObj.style.borderColor =
         tooltipObj.style.color = s.getPropertyValue('color')
      tooltipObj.style.visibility = "hidden"
      tooltipObj.innerHTML = html
      tooltipObj.insertBefore(makeCopyButton("tooltip-link",0,0),
                              tooltipObj.childNodes[1]);
      tooltipObj.style.display = "inline"
      tooltipObj.style.position = "absolute"
      var x = tooltipInfo.posX + 4 + window.pageXOffset
                   - absoluteX(tooltipObj.offsetParent)
      tooltipObj.style.left = x+"px"
      var y = tooltipInfo.posY + window.pageYOffset
                   - tooltipObj.clientHeight - 4