mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Don't hide the editor layer when rotating (follow-up of #17802)
Before the patch in #17802, the layer was made visible when calling updateMode after the rotation angle was set.
This commit is contained in:
parent
e892f3b18f
commit
a3873e4c68
3 changed files with 41 additions and 1 deletions
|
@ -138,7 +138,7 @@ class AnnotationEditorLayerBuilder {
|
|||
}
|
||||
|
||||
show() {
|
||||
if (!this.div || this.annotationEditorLayer.isEmpty) {
|
||||
if (!this.div || this.annotationEditorLayer.isInvisible) {
|
||||
return;
|
||||
}
|
||||
this.div.hidden = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue