@bettergi/utils 0.1.28 → 0.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/ocr.js +1 -1
  2. package/package.json +1 -1
package/dist/ocr.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { mouseScrollDownLines } from "./mouse";
2
2
  import { waitForAction } from "./workflow";
3
3
  const scaleTo1080P = (n) => {
4
- return genshin.scaleTo1080PRatio <= 1 ? n : n / Math.floor(genshin.scaleTo1080PRatio);
4
+ return genshin.scaleTo1080PRatio <= 1 ? n : Math.floor(n / genshin.scaleTo1080PRatio);
5
5
  };
6
6
  const directionToBounds = (direction) => {
7
7
  const x = direction.includes("east") ? genshin.width / 2 : 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bettergi/utils",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "开发 BetterGI 脚本常用工具集",
5
5
  "type": "module",
6
6
  "author": "Bread Grocery<https://github.com/breadgrocery>",