diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-29 19:54:35 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-03-29 19:54:35 -0300 |
commit | 281e5fa90615bde3a3cc5b84ab38521a69dd6ba3 (patch) | |
tree | cf8bfd4ef35714c22b6d907528c7a959b279b90a /src | |
parent | beb4d7fa789991b1564a694ff73f205655d1bd77 (diff) |
client: use line-based rects for hoverable tooltip placement
Diffstat (limited to 'src')
-rw-r--r-- | src/static/client3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/client3.js b/src/static/client3.js index 6aea86ad..1554e321 100644 --- a/src/static/client3.js +++ b/src/static/client3.js @@ -1642,7 +1642,7 @@ function getTooltipFromHoverablePlacementOpportunityAreas(hoverable) { getTooltipBaselineOpportunityAreas(tooltip); const hoverableRect = - WikiRect.fromElement(hoverable).toExtended(5, 10); + WikiRect.fromElementUnderMouse(hoverable).toExtended(5, 10); const tooltipRect = peekTooltipClientRect(tooltip); |