From 281e5fa90615bde3a3cc5b84ab38521a69dd6ba3 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Mar 2024 19:54:35 -0300 Subject: client: use line-based rects for hoverable tooltip placement --- src/static/client3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit 1.3.0-6-gf8a5