RED-3988: fix navigation loop in compare mode
This commit is contained in:
parent
576f6ec6e3
commit
a8cd74d94d
@ -151,7 +151,8 @@ export class REDDocumentViewer {
|
||||
|
||||
refreshAndUpdateView() {
|
||||
this.#document.refreshAll();
|
||||
const currentPage = this._pdf.currentPage;
|
||||
// do not adjust this page if is compare mode
|
||||
const currentPage = this.#document.getCurrentPage();
|
||||
this.#document.updateView([currentPage], currentPage);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user