Fossil

Check-in [0a7ddaba]
Login

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

Overview
Comment:Fix the tooltip positioning on the ardoise skin.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tooltip-experiments
Files: files | file ages | folders
SHA3-256: 0a7ddaba6b11fe4efa60877a9b15c6fb6f6e5f8075839b2501440aab53eded15
User & Date: drh 2019-05-23 14:45:08
Wiki:tooltip-experiments
Context
2019-05-23
17:08
Merge enhancements from trunk. check-in: cf07e582 user: drh tags: tooltip-experiments
14:45
Fix the tooltip positioning on the ardoise skin. check-in: 0a7ddaba user: drh tags: tooltip-experiments
02:29
Default dwell and close times for tooltips changes to 100 and 250 milliseconds. check-in: 42c57c97 user: drh tags: tooltip-experiments
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/graph.js.

623
624
625
626
627
628
629

630
631
632

633
634
635
636
637
638
639
      tooltipObj.style.borderColor =
         tooltipObj.style.color = s.getPropertyValue('color')
      tooltipObj.style.visibility = "hidden"
      tooltipObj.innerHTML = html
      tooltipObj.style.display = "inline"
      tooltipObj.style.position = "absolute"
      var x = tooltipInfo.posX + 4 + window.pageXOffset

      tooltipObj.style.left = x+"px"
      var y = tooltipInfo.posY + window.pageYOffset
                   - tooltipObj.clientHeight - 4

      tooltipObj.style.top = y+"px"
      tooltipObj.style.visibility = "visible"
    }else{
      hideGraphTooltip()
    }
  }
  function dblclickOnGraph(e){







>



>







623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
      tooltipObj.style.borderColor =
         tooltipObj.style.color = s.getPropertyValue('color')
      tooltipObj.style.visibility = "hidden"
      tooltipObj.innerHTML = html
      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
                   - absoluteY(tooltipObj.offsetParent)
      tooltipObj.style.top = y+"px"
      tooltipObj.style.visibility = "visible"
    }else{
      hideGraphTooltip()
    }
  }
  function dblclickOnGraph(e){