fix(reader): patch embedpdf zoom to release startup gate on custom zoom

Apply a patch to @embedpdf/plugin-zoom@2.15.0 so numeric default zoom levels release the startup
viewport gate once resize metrics are measured.

Add unit test to verify custom zoom initialization and scale calculation under EmbedPDF.

Closes #1126
This commit is contained in:
neon
2026-08-24 22:21:18 +00:00
parent b264ef1132
commit 4c180fd58b
4 changed files with 87 additions and 2 deletions
+1
View File
@@ -54,6 +54,7 @@ patchedDependencies:
"@embedpdf/core@2.15.0": patches/@embedpdf__core@2.15.0.patch
"@embedpdf/engines@2.15.0": patches/@embedpdf__engines@2.15.0.patch
"@embedpdf/plugin-scroll@2.15.0": patches/@embedpdf__plugin-scroll@2.15.0.patch
"@embedpdf/plugin-zoom@2.15.0": patches/@embedpdf__plugin-zoom@2.15.0.patch
minimumReleaseAgeExclude:
- "@tsconfig/node24@24.0.5"
- "@vue/language-core@3.3.10"