feat: functional button "AbsTchDrag"
This commit is contained in:
@@ -1381,6 +1381,15 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
||||
LiSendScrollEvent(deltaZ);
|
||||
}
|
||||
|
||||
- (void)alterAbsTouchDragWith:(int32_t)mouseButton{
|
||||
if([touchHandler isKindOfClass:[AbsoluteTouchHandler class]]){
|
||||
AbsoluteTouchHandler* handler = (AbsoluteTouchHandler* )touchHandler;
|
||||
handler.mouseButtonForCursorMove = mouseButton;
|
||||
[handler pauseLeftButtonDrag];
|
||||
}
|
||||
else return;
|
||||
}
|
||||
|
||||
|
||||
#if !TARGET_OS_TV
|
||||
- (BOOL)isMultipleTouchEnabled {
|
||||
|
||||
Reference in New Issue
Block a user