处理001类型弹起刷新时间。触摸开关莫名时间超长可能是因为这个问题
This commit is contained in:
parent
81bb68b0c8
commit
96421ab6f9
|
@ -375,7 +375,10 @@ void InputPort::OnPress(bool down)
|
|||
if(down)
|
||||
_Start = now;
|
||||
else
|
||||
{
|
||||
PressTime = now - _Start;
|
||||
_Start = now;
|
||||
}
|
||||
|
||||
if(down)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue