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:
parent
df5bc544df
commit
4e7c30da9a
4 changed files with 172 additions and 14 deletions
|
@ -116,6 +116,10 @@
|
|||
.selectedEditor {
|
||||
z-index: 100000 !important;
|
||||
}
|
||||
|
||||
&.drawing * {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.annotationEditorLayer.waiting {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue