🐛 fix tooltip hover

This commit is contained in:
2026-03-06 20:23:51 +10:00
parent 56381d1815
commit c538717d36
3 changed files with 23 additions and 1 deletions

View File

@@ -213,6 +213,7 @@ const annotationHoverTooltip = hoverTooltip(
create() {
const dom = document.createElement('div')
dom.className = 'annotation-tooltip'
dom.addEventListener('mousemove', (e) => e.stopPropagation())
const label = document.createElement('span')
label.className = 'annotation-tooltip-label'
label.textContent = 'Your comment'
@@ -243,6 +244,7 @@ const annotationHoverTooltip = hoverTooltip(
create() {
const dom = document.createElement('div')
dom.className = 'annotation-tooltip'
dom.addEventListener('mousemove', (e) => e.stopPropagation())
const label = document.createElement('span')
label.className = 'annotation-tooltip-label'