rust-rpa 0.1.6 → 0.1.7-beta.1
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.
package/README.md
CHANGED
|
@@ -748,6 +748,19 @@ npm test
|
|
|
748
748
|
|
|
749
749
|
## 更新日志
|
|
750
750
|
|
|
751
|
+
### 0.1.7
|
|
752
|
+
|
|
753
|
+
#### BREAKCHANGE
|
|
754
|
+
|
|
755
|
+
- **`Mouse.scroll` 滚动单位改为像素**: `Mouse.scroll(dx, dy)` 的 `dx` 和 `dy` 参数现在表示像素值,而非滚动行数
|
|
756
|
+
- 此前 Windows 和 macOS 使用不同的滚动单位,行为不一致
|
|
757
|
+
- 现在统一按像素处理:传入 200 表示尝试滚动约 200 像素
|
|
758
|
+
- Windows: 30 像素 ≈ 1 个 WHEEL_DELTA (120)
|
|
759
|
+
- macOS: 20 像素 ≈ 1 行滚动
|
|
760
|
+
- **Windows 平台 `Mouse.scroll` 方向调整**: `dy` 正数现在表示向下滚动(与 macOS 保持一致)
|
|
761
|
+
- 此前 Windows 上正数向上滚动,与 macOS 相反
|
|
762
|
+
- 现在双平台方向一致:正数向下,负数向上
|
|
763
|
+
|
|
751
764
|
### 0.1.6
|
|
752
765
|
|
|
753
766
|
#### BREAKCHANGE
|
package/package.json
CHANGED
|
Binary file
|
package/rust-rpa.darwin-x64.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|