Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Mobile
Commits
51a9ad3e
Commit
51a9ad3e
authored
May 26, 2022
by
Devin Lin
🎨
Browse files
homescreen: Fix fast sequential flicks not opening the app drawer
Fixes
#188
parent
b46e78ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
containments/homescreens/default/package/contents/ui/HomeScreenState.qml
View file @
51a9ad3e
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment