« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/static/client3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/client3.js b/src/static/client3.js
index 6aea86a..1554e32 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);