tweak RIGHTCLICK_TAP_DOWN_TIME_THRESHOLD_S for relative touch

This commit is contained in:
True Zhuanjia committed 2024-06-18 13:03:01 +08:00
1 parent f2cf788d86
commit 8834f492b4
4 files changed
+10 -8

No files matched your search

+1 -2
View File
@@ -10,14 +10,13 @@
#define CustomTapGestureRecognizer_h
@interface CustomTapGestureRecognizer : UIGestureRecognizer{
CGFloat lowestTouchPointYCoord;
}
@property (nonatomic, assign) uint8_t numberOfTouchesRequired;
@property (nonatomic, assign) bool immediateTriggering; // trigger the signal on touchesBegan stage if enabled.
@property (nonatomic, assign) bool immediateTriggering; // if enabled, trigger the signal on touchesBegan stage.
@property (nonatomic, assign) double tapDownTimeThreshold; // tap down threshold in seconds.
@property (nonatomic, readonly) CGFloat lowestTouchPointHeight;
@property (nonatomic, readonly) bool gestureCaptured;