mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
[Editor] Avoid spurious text selection when double clicking to add a FreeText
In order to reproduce the original issue: - switch to freetext mode - add a text somewhere - double click outside and add some text - repeat the previous step several times no text is selected during the edition.
This commit is contained in:
parent
fb3ae82820
commit
3f58e25961
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,7 @@
|
|||
resize: none;
|
||||
font: 10px sans-serif;
|
||||
line-height: var(--freetext-line-height);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.annotationEditorLayer .freeTextEditor .overlay {
|
||||
|
@ -137,6 +138,7 @@
|
|||
|
||||
.annotationEditorLayer .freeTextEditor .internal:focus {
|
||||
outline: none;
|
||||
user-select: auto;
|
||||
}
|
||||
|
||||
.annotationEditorLayer .inkEditor.disabled {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue