From 86937a0290e03f70ab9edb9b3bf7a280ef415cfb Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Fri, 18 Sep 2026 10:46:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=89=8D=E7=AB=AF=E7=95=8C=E9=9D=A2):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=98=85=E8=AF=BB=E4=B8=8E=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=97=B6=E7=9A=84=E9=80=82=E5=AE=BD=E3=80=81?= =?UTF-8?q?=E9=80=82=E9=AB=98=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/ofdgo.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/webui/ofdgo.js b/assets/webui/ofdgo.js index 62731a7..513ac66 100644 --- a/assets/webui/ofdgo.js +++ b/assets/webui/ofdgo.js @@ -5897,6 +5897,10 @@ function restoreScaleAnchor(anchor) { if (!anchor) { return; } + if (state.fitMode === "height" || (state.fitMode === "width" && anchor.y <= 0)) { + scrollToPage(anchor.index); + return; + } const shell = pageShell(anchor.index); if (!shell) { return;