- Resolving app crash which happens occasionally after slide from screen edge
- Slide from upper 40% of left & right screen edge to open in-stream menus will no longer sends touch event to remote PC
This commit is contained in:
1 parent
db75cac9bc
commit
69f5fbef31
10 files changed
+61
-60
No files matched your search
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// CustomEdgeSlideGestureRecognizer.h
|
||||
// Moonlight-ZWM
|
||||
//
|
||||
// Created by ZWM on 2024/4/30.
|
||||
// Copyright © 2024 Moonlight Game Streaming Project. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef CustomEdgeSlideGestureRecognizer_h
|
||||
#define CustomEdgeSlideGestureRecognizer_h
|
||||
// CustomEdgeSlideGestureRecognizer.h
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface CustomEdgeSlideGestureRecognizer : UIGestureRecognizer
|
||||
|
||||
@property (nonatomic, assign) UIRectEdge edges; // Specify the edge(s) you want to recognize the swipe gesture on
|
||||
@property (nonatomic, assign) CGFloat normalizedThresholdDistance; // Distance from the edge to start recognizing the gesture
|
||||
@property (nonatomic, assign) bool immediateTriggering;
|
||||
@property (nonatomic, assign) CGFloat EDGE_TOLERANCE;
|
||||
|
||||
@end
|
||||
#endif /* CustomEdgeSlideGestureRecognizer_h */
|
||||
Reference in new issue
Block a user