fix TouchDevice's point report

This commit is contained in:
houzh 2023-11-01 09:38:43 +08:00
parent bf2210d1a7
commit 6c4ad6dc34

View File

@ -394,8 +394,8 @@ int TouchDevice::putRawEvent(const struct timeval&tv,int type,int code,int value
//the same positioned moveing ,skip this event
break;
}
mLastDownX= mEvent.getX();
mLastDownY= mEvent.getY();
mLastDownX= mEvent.getX();
mLastDownY= mEvent.getY();
mDownTime = mMoveTime;
}
if(listener)listener(mEvent);