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

[Editor] Take into account the parent rotation when switch to edit mode (issue #19424)

This commit is contained in:
Calixte Denizet 2025-03-19 14:26:31 +01:00
parent 1a39e2dac1
commit 276c8f3518
4 changed files with 32 additions and 0 deletions

View file

@ -984,6 +984,7 @@ class HighlightEditor extends AnnotationEditor {
clipPathId,
});
editor.#addToDrawLayer();
editor.rotate(editor.parentRotation);
}
return editor;