Skip to content

Commit

Permalink
Make sure PressArea gets reset when the keyboard hides
Browse files Browse the repository at this point in the history
When the keyboard hides, pressed would remain true and hover events
would still trigger as if the drag session never finished.

This makes sure that the press area gets disabled and the swipe works on
consecutive Panel sessions.
  • Loading branch information
aleixpol committed Mar 13, 2023
1 parent 678e44c commit 41253c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qml/keys/PressArea.qml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ MultiPointTouchArea {
holdTimer.stop();
}

enabled: MaliitGeometry.shown

touchPoints: [
TouchPoint {
id: point
Expand Down

0 comments on commit 41253c8

Please sign in to comment.