Fix qml touchpad interface
On release, forget about the last position
This commit is contained in:
parent
84f93ad0b5
commit
a2aa2ab72b
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ ColumnLayout
|
|||
}
|
||||
lastPos = Qt.point(mouse.x, mouse.y);
|
||||
}
|
||||
onReleased: {
|
||||
lastPos = Qt.point(-1, -1)
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
|
|
Loading…
Reference in a new issue