tooltip appears above mouse

This commit is contained in:
2026-02-21 14:05:50 +10:00
parent e2d3f44dfa
commit 2e8c6872ae

View File

@@ -35,8 +35,7 @@ const annotationHoverTooltip = hoverTooltip(
if (!ann) return null
return {
pos: ann.from,
end: ann.to,
pos,
above: true,
create() {
const dom = document.createElement('div')