Accept touch event according to last accepted values

This commit is contained in:
vladest 2017-10-05 15:43:07 +02:00
parent 9a92b5635d
commit cb21aaff72

View file

@ -468,7 +468,7 @@ void Web3DOverlay::handlePointerEventAsTouch(const PointerEvent& event) {
#endif
touchEvent.setTimestamp((ulong)QDateTime::currentMSecsSinceEpoch());
touchEvent.setAccepted(false);
touchEvent.setAccepted(_touchBeginAccepted);
if (touchType == QEvent::TouchBegin) {
_touchBeginAccepted = QCoreApplication::sendEvent(_webSurface->getWindow(), &touchEvent);