[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:
Calixte Denizet 2023-07-24 19:37:56 +02:00
parent fb3ae82820
commit 3f58e25961

View File

@ -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 {