mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #20035 from overleaf/dp-pdf-fit-height
Update zoom on window resize when pdf zoom is set to page-height GitOrigin-RevId: 19b963ffbd9da95c0c97642c7cd2195578c295d3
This commit is contained in:
@@ -152,6 +152,7 @@ export default class PDFJSWrapper {
|
||||
if (
|
||||
currentScaleValue === 'auto' ||
|
||||
currentScaleValue === 'page-fit' ||
|
||||
currentScaleValue === 'page-height' ||
|
||||
currentScaleValue === 'page-width'
|
||||
) {
|
||||
this.viewer.currentScaleValue = currentScaleValue
|
||||
|
||||
Reference in New Issue
Block a user