mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user