1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

[Editor] Avoid to move a non-draggable editor with the keyboard

This commit is contained in:
Calixte Denizet 2024-01-16 20:21:50 +01:00
parent 9c377922ef
commit 70a9d8f3bc
2 changed files with 65 additions and 1 deletions

View file

@ -109,6 +109,9 @@ class HighlightEditor extends AnnotationEditor {
}
}
/** @inheritdoc */
translateInPage(x, y) {}
/** @inheritdoc */
get toolbarPosition() {
return this.#lastPoint;