Update rcore_ios.c

This commit is contained in:
blueloveTH 2024-03-24 14:40:35 +08:00
parent 5db5720de9
commit c0ac3471f7

View File

@ -727,6 +727,9 @@ static void send_gesture_event(NSSet<UITouch *> * touches, int action)
} }
} }
if (CORE.Input.Touch.pointCount > 0) CORE.Input.Touch.currentTouchState[MOUSE_BUTTON_LEFT] = 1;
else CORE.Input.Touch.currentTouchState[MOUSE_BUTTON_LEFT] = 0;
if(action == TOUCH_ACTION_MOVE){ if(action == TOUCH_ACTION_MOVE){
CORE.Input.Mouse.previousPosition = CORE.Input.Mouse.currentPosition; CORE.Input.Mouse.previousPosition = CORE.Input.Mouse.currentPosition;
}else{ }else{