From 030378f3b51cd6008b4ceb85f5b5b1780c58201f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E7=AB=AF=E5=AE=A2?= <107686912+Kirito520Asuna@users.noreply.github.com> Date: Sun, 31 Aug 2025 23:50:47 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=9C=A3=E9=81=97=E7=89=A9=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E5=BC=BA=E5=8C=96]=E4=BF=AE=E5=A4=8D=20=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=20=E9=BC=A0=E6=A0=87=E6=BB=91?= =?UTF-8?q?=E5=8A=A8=20=E4=B8=8D=E5=88=B0=E4=BD=8D=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#1783)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: 重命名 * refactor: 更新页面滚动高度计算逻辑 --- repo/js/HolyRelicsUp/main.js | 2 +- repo/js/HolyRelicsUp/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repo/js/HolyRelicsUp/main.js b/repo/js/HolyRelicsUp/main.js index fbf30b018..f05ac9115 100644 --- a/repo/js/HolyRelicsUp/main.js +++ b/repo/js/HolyRelicsUp/main.js @@ -967,7 +967,7 @@ async function unchecked(log_off) { async function scrollPageByAttributeSortInit() { // 计算滚动高度:页面总高度的1/5加上1/25 // 然后执行滚动操作,true表示平滑滚动,6表示滚动速度 - await scrollPage(Math.floor(genshinJson.height * (1 / 5 + 1 / 25)), true, 6) + await scrollPage(Math.floor(genshinJson.height * (165 / 1080)), true, 6) await info('拖动到看不见辅助排序规则(影响OCR)') } diff --git a/repo/js/HolyRelicsUp/manifest.json b/repo/js/HolyRelicsUp/manifest.json index aaeeb661d..f5419e191 100644 --- a/repo/js/HolyRelicsUp/manifest.json +++ b/repo/js/HolyRelicsUp/manifest.json @@ -1,6 +1,6 @@ { "name": "圣遗物批量强化", - "version": "1.1.0", + "version": "1.1.1", "description": "一个批量强化圣遗物的脚本", "settings_ui": "settings.json", "main": "main.js",