脚本获取的屏幕宽高不随屏幕旋转而变化 (Referenced) #153
Labels
Bug 🐞 故障
Confirmed bugs or reports that are very likely to be bugs
Feedback Awaited 🕒 等待反馈
Waiting for the feedback from issue creater and issue will be closed if duration is over one month
context.getResources().getDisplayMetrics().widthPixels
在AutoJs6中的结果反而是不变的, 不知道为什么.讲道理这两个fork干脆合并算了
@SuperMonster003
Originally posted by @happyme531 in kkevsekk1/AutoX#672 (comment)
context.getResources().getDisplayMetrics().widthPixels
正常情况下应该是随屏幕方向改变而变化的.将于下一版本修复上述问题.
The text was updated successfully, but these errors were encountered: