gestures: Swipe direction lock (#3052)
This commit is contained in:
parent
4d14edd8a5
commit
17ea7db23a
3 changed files with 31 additions and 18 deletions
|
|
@ -309,6 +309,7 @@ struct SSwipeGesture {
|
|||
|
||||
double delta = 0;
|
||||
|
||||
int initialDirection = 0;
|
||||
float avgSpeed = 0;
|
||||
int speedPoints = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue