Sfoglia il codice sorgente

Update rcore_ios.c

pull/3880/head
blueloveTH 1 anno fa
parent
commit
c0ac3471f7
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      src/platforms/rcore_ios.c

+ 3
- 0
src/platforms/rcore_ios.c Vedi 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{

Caricamento…
Annulla
Salva