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:
parent
9c377922ef
commit
70a9d8f3bc
2 changed files with 65 additions and 1 deletions
|
@ -109,6 +109,9 @@ class HighlightEditor extends AnnotationEditor {
|
|||
}
|
||||
}
|
||||
|
||||
/** @inheritdoc */
|
||||
translateInPage(x, y) {}
|
||||
|
||||
/** @inheritdoc */
|
||||
get toolbarPosition() {
|
||||
return this.#lastPoint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue