Poco icon indicating copy to clipboard operation
Poco copied to clipboard

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

Open songzhenhua opened this issue 3 years ago • 0 comments

描述问题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

python 版本: python3.8

poco 版本: 1.0.85

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

songzhenhua avatar Feb 10 '22 09:02 songzhenhua