mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
[Editor] Don't commit the current drawing while zooming
This commit is contained in:
parent
99eefb7b71
commit
166a529ddd
2 changed files with 22 additions and 0 deletions
|
@ -140,6 +140,7 @@ class AnnotationEditorLayerBuilder {
|
|||
if (!this.div) {
|
||||
return;
|
||||
}
|
||||
this.annotationEditorLayer.pause(/* on */ true);
|
||||
this.div.hidden = true;
|
||||
}
|
||||
|
||||
|
@ -148,6 +149,7 @@ class AnnotationEditorLayerBuilder {
|
|||
return;
|
||||
}
|
||||
this.div.hidden = false;
|
||||
this.annotationEditorLayer.pause(/* on */ false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue