Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix the tooltip positioning on the ardoise skin. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | tooltip-experiments |
| Files: | files | file ages | folders |
| SHA3-256: |
0a7ddaba6b11fe4efa60877a9b15c6fb |
| User & Date: | drh 2019-05-23 14:45:08.282 |
Context
|
2019-05-23
| ||
| 17:08 | Merge enhancements from trunk. ... (check-in: cf07e5827a user: drh tags: tooltip-experiments) | |
| 14:45 | Fix the tooltip positioning on the ardoise skin. ... (check-in: 0a7ddaba6b user: drh tags: tooltip-experiments) | |
| 02:29 | Default dwell and close times for tooltips changes to 100 and 250 milliseconds. ... (check-in: 42c57c971b user: drh tags: tooltip-experiments) | |
Changes
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){
|
| ︙ | ︙ |