AirtestProject / AirtestProject/Poco

poco.start_gesture()运行时取的坐标横竖屏反了

Open
#522 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

**描述问题bug**
在AirtestIDE1.2.13中运行
poco.start_gesture()运行时取的坐标横竖屏反了

**复现步骤**
```
auto_setup(__file__)
poco = UnityPoco()

poco.long_click([0.193, 0.323])
poco.start_gesture([0.193, 0.323]).hold(1).to([0.6, 0.6]).hold(1).to([0.5, 0.5]).up()
# 长按坐标就对,手势就不对,[0.193, 0.323]是第1个星星的中心点
```

**预期效果**
运行的坐标正确

**相关截图**
![image](https://user-images.githubusercontent.com/7867532/153379111-69a9a71a-8597-4da5-b960-2a1c94ce2a92.png)

**python 版本:** `python3.8`

**poco 版本:** `1.0.85`

**设备:**
小米9,红米NOTE10,三星s6

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.