Skip to content

Commit

Permalink
Merge branch 'release/27.x'
Browse files Browse the repository at this point in the history
* release/27.x:
  #4008 - PDF highlighting disables after double-clicking on a recommended annotation
  • Loading branch information
reckart committed May 23, 2023
2 parents c58332c + ba175d2 commit bad80bc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export function installSpanSelection () {

window.addEventListener('annotationHoverIn', () => { otherAnnotationTreating = true })
window.addEventListener('annotationHoverOut', () => { otherAnnotationTreating = false })
window.addEventListener('annotationDeleted', () => { otherAnnotationTreating = false })
// See https://github.com/inception-project/inception/issues/4008
window.addEventListener('doubleClickAnnotation', () => { otherAnnotationTreating = false })
}

function startSelection () {
Expand Down

0 comments on commit bad80bc

Please sign in to comment.