mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
fix missing pdf viewer update when scale is the same (#3510)
This commit is contained in:
committed by
Eugenio Romano
parent
511f97ce25
commit
4984cc4437
@@ -278,9 +278,9 @@ export class PdfViewerComponent implements OnChanges, OnDestroy {
|
|||||||
this.pdfViewer._pages.forEach(function (currentPage) {
|
this.pdfViewer._pages.forEach(function (currentPage) {
|
||||||
currentPage.update(newScale);
|
currentPage.update(newScale);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.pdfViewer.update();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.pdfViewer.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user