Browse Source

Update rcore_ios.c

pull/3880/head
blueloveTH 9 months ago
parent
commit
c0ac3471f7
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/platforms/rcore_ios.c

+ 3
- 0
src/platforms/rcore_ios.c View File

@ -727,6 +727,9 @@ static void send_gesture_event(NSSet * 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){
CORE.Input.Mouse.previousPosition = CORE.Input.Mouse.currentPosition;
}else{

Loading…
Cancel
Save