mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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:
parent
52ff5ec4a7
commit
de3661f7c3
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ export default class PDFJSWrapper {
|
|||
if (
|
||||
currentScaleValue === 'auto' ||
|
||||
currentScaleValue === 'page-fit' ||
|
||||
currentScaleValue === 'page-height' ||
|
||||
currentScaleValue === 'page-width'
|
||||
) {
|
||||
this.viewer.currentScaleValue = currentScaleValue
|
||||
|
|
Loading…
Reference in a new issue