[圣遗物批量强化]修复 排序初始化 鼠标滑动 不到位的问题 (#1783)

* docs: 重命名

* refactor: 更新页面滚动高度计算逻辑
This commit is contained in:
云端客
2025-08-31 23:50:47 +08:00
committed by GitHub
parent edb494a969
commit 030378f3b5
2 changed files with 2 additions and 2 deletions

View File

@@ -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)')
}

View File

@@ -1,6 +1,6 @@
{
"name": "圣遗物批量强化",
"version": "1.1.0",
"version": "1.1.1",
"description": "一个批量强化圣遗物的脚本",
"settings_ui": "settings.json",
"main": "main.js",