mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
homescreen: Fix fast sequential flicks not opening the app drawer
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/188
This commit is contained in:
parent
7ecb92d3dd
commit
8f418a3ee1
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue