iterate all customTapGestureRecognizer in OnScreenControls implementation to resolve conflict between tap gesture & osc touch

This commit is contained in:
True Zhuanjia committed 2024-08-15 21:55:01 +08:00
1 parent 9618b7bb94
commit f0e812e9e2
8 files changed
+50 -21

No files matched your search

+2 -1
View File
@@ -33,7 +33,8 @@ typedef NS_ENUM(NSInteger, OnScreenControlsLevel) {
};
@property (nonatomic, assign) CustomTapGestureRecognizer* mouseRightClickTapRecognizer; // this object will be passed to onscreencontrols class for areVirtualControllerTaps flag setting
// @property (nonatomic, assign) CustomTapGestureRecognizer* mouseRightClickTapRecognizer; // this object will be passed to onscreencontrols class for areVirtualControllerTaps flag setting
@property (nonatomic, assign) bool isLayingOut;
@property CALayer* _aButton;
@property CALayer* _bButton;
@property CALayer* _xButton;