Fix qml touchpad interface

On release, forget about the last position
This commit is contained in:
Aleix Pol 2015-08-07 15:02:36 +02:00
parent 84f93ad0b5
commit a2aa2ab72b

View file

@ -44,6 +44,9 @@ ColumnLayout
}
lastPos = Qt.point(mouse.x, mouse.y);
}
onReleased: {
lastPos = Qt.point(-1, -1)
}
}
RowLayout {
Layout.fillWidth: true