PhyTouch
PhyTouch copied to clipboard
在微信上快速滑动,有时候会卡住,就划不动咯
我上滑下滑,大概滑了几十下,然后滑不动了。我在change
里面打印出了value
,显示NaN,这是什么情况
我琢磨出来了
什么原因?
这个出现的概率不大,小弟才疏学浅,找不到原因,只做了个判断处理:当value值等于NaN,我就重新初始化程序
偶尔就会出现这个问题,然后后续每次滑动都是NaN...完全无解
试着打印了一下,dt居然有为0的时候,自然基于dt计算得出的speed为NaN了...
初始化实例后,每次滑动还是NaN
修复了
@dntzhang 怎么修复的呢,我这边用的最新版本还是会卡住之后就滑不动了
请问解决了吗,我也碰到类似的问题了
是哪个问题啊?
宋嘉欣
------------------ 原始邮件 ------------------ 发件人: "baishuiraodongcheng"<[email protected]>; 发送时间: 2020年1月3日(星期五) 下午3:46 收件人: "AlloyTeam/PhyTouch"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: Re: [AlloyTeam/PhyTouch] 在微信上快速滑动,有时候会卡住,就划不动咯 (#85)
请问解决了吗,我也碰到类似的问题了
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@Topjiaxin change里面打印出了value,显示NaN 就划不动咯
划着偶尔出来滑动距离是NaN,然后就划不动了
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: xiaoxin <[email protected]> 发送时间: 2020年1月3日 15:48 收件人: AlloyTeam/PhyTouch <[email protected]> 抄送: baishuiraodongcheng <[email protected]>, Comment <[email protected]> 主题: 回复:[AlloyTeam/PhyTouch] 在微信上快速滑动,有时候会卡住,就划不动咯 (#85)
是哪个问题啊?
宋嘉欣
------------------ 原始邮件 ------------------ 发件人: "baishuiraodongcheng"<[email protected]>; 发送时间: 2020年1月3日(星期五) 下午3:46 收件人: "AlloyTeam/PhyTouch"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: Re: [AlloyTeam/PhyTouch] 在微信上快速滑动,有时候会卡住,就划不动咯 (#85)
请问解决了吗,我也碰到类似的问题了
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.