gestures: Swipe direction lock (#3052)

This commit is contained in:
end-4 2023-08-24 03:40:19 +07:00 committed by GitHub
parent 4d14edd8a5
commit 17ea7db23a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 18 deletions

View file

@ -309,6 +309,7 @@ struct SSwipeGesture {
double delta = 0;
int initialDirection = 0;
float avgSpeed = 0;
int speedPoints = 0;