STF 聚焦不准的问题如何解决?

卡农Lucas · 2018年04月24日 · 最后由 卡农Lucas 回复于 2018年04月24日 · 1400 次阅读

聚焦不准:

如图所示,这个问题专家是怎么 fix 的?
机型:全面屏 oppo r15

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 4 条回复 时间 点赞

这种奇葩的机器比较少,stf/lib/units/device/plugins/touch/index.js,有针对这种设备做了特殊处理,具体看看 forceTouchOrigin 怎么做的就知道了

mling 回复

好的,多谢,我看看。

https://github.com/openstf/stf/blob/master/CHANGELOG.md

Updated STFService.apk to fix an issue on high aspect ratio devices like the Mi Mix 2 where a portion of the screen may not have been visible

Mi Mix 2 fix,或许 fix 同类全面屏问题。
更新代码,rebuild 之后同步更新给大伙。

验证最新 stf master 分支代码已修复这个问题。

卡农Lucas 关闭了讨论 04月24日 20:33
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册