1
0
Fork 0
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:
Calixte Denizet 2024-12-09 17:25:36 +01:00
parent 99eefb7b71
commit 166a529ddd
2 changed files with 22 additions and 0 deletions

View file

@ -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);
}
}