1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

[Editor] Disable existing highlights when drawing a new one (bug 1879035)

When the mouse was hovering an existing highlight, all the text in the page
was selected.
So when the user is selecting some text or drawing a free highlight, the mouse
is disabled for the existing editors.
This commit is contained in:
Calixte Denizet 2024-07-11 16:18:50 +02:00
parent df5bc544df
commit 4e7c30da9a
4 changed files with 172 additions and 14 deletions

View file

@ -116,6 +116,10 @@
.selectedEditor {
z-index: 100000 !important;
}
&.drawing * {
pointer-events: none !important;
}
}
.annotationEditorLayer.waiting {