change pointer reset coordinate, change max pointer velocity

This commit is contained in:
True Zhuanjia
2024-07-14 18:19:16 +08:00
parent 31b3df08cc
commit 3dbc97701d
3 changed files with 22 additions and 5 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ StreamView *streamView;
+ (void)initContextWithView:(StreamView *)view {
streamView = view;
screenWidthInPoints = CGRectGetWidth([[UIScreen mainScreen] bounds]);
fixedResetCoordX = screenWidthInPoints * 0.3;
fixedResetCoordX = screenWidthInPoints * 0.5;
screenHeightInPoints = CGRectGetHeight([[UIScreen mainScreen] bounds]);
fixedResetCoordY = screenHeightInPoints * 0.4;
pointerObjDict = [NSMutableDictionary dictionary];