This commit is contained in:
parent
50b97c0844
commit
aa6657bc57
1 changed files with 2 additions and 1 deletions
|
@ -1333,7 +1333,8 @@ class PDFViewerApplication {
|
|||
if (stored?.page && viewOnLoad !== ViewOnLoad.INITIAL) {
|
||||
hash =
|
||||
`page=${stored.page}&zoom=${zoom || stored.zoom},` +
|
||||
`${stored.scrollLeft},${stored.scrollTop}`;
|
||||
// NOTE https://github.com/siyuan-note/siyuan/issues/12291
|
||||
`${stored.scrollLeft}${this.pdfId ? "" : "," + stored.scrollTop}`;
|
||||
|
||||
rotation = parseInt(stored.rotation, 10);
|
||||
// Always let user preference take precedence over the view history.
|
||||
|
|
Loading…
Add table
Reference in a new issue