Commit 8f418a3e authored by Devin Lin's avatar Devin Lin 🎨
Browse files

homescreen: Fix fast sequential flicks not opening the app drawer

Fixes #188
parent 7ecb92d3
Pipeline #181300 passed with stage
in 1 minute and 3 seconds
......@@ -60,6 +60,13 @@ QtObject {
onYPositionChanged: {
movingUp = yPosition > oldYPosition;
oldYPosition = yPosition;
// speed up the animation
if (currentSwipeState == HomeScreenState.SwipingAppDrawerVisibility && yPosition <= 0) {
root.currentView = HomeScreenState.AppDrawerBeginningView;
root.resetSwipeState();
openDrawerAnim.stop();
}
}
// yPosition when the homescreen pages are visible
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment