TuioTouch: Report empty touch areas for tokens
Currently TuioTouch plugin reports touch areas of size 1x1. It's inconsistent with the platform plugins which report empty touch areas when their size is unknown. Change-Id: I253e4f7a95e8fb3ecc76c809a9be2afe3c976bef Reviewed-by: Ariel Molina R <ariel@edis.mx> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
f7a0968da4
commit
a11ced4981
@ -514,7 +514,6 @@ QWindowSystemInterface::TouchPoint QTuioHandler::tokenToTouchPoint(const QTuioTo
|
||||
tp.normalPosition = m_transform.map(tp.normalPosition);
|
||||
|
||||
tp.state = tc.state();
|
||||
tp.area = QRectF(0, 0, 1, 1);
|
||||
|
||||
// We map the token position to the size of the window.
|
||||
QPointF relPos = QPointF(win->size().width() * tp.normalPosition.x(), win->size().height() * tp.normalPosition.y());
|
||||
|
Loading…
x
Reference in New Issue
Block a user