mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 07:52:55 +02:00
Accept touch event according to last accepted values
This commit is contained in:
parent
9a92b5635d
commit
cb21aaff72
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue