浏览代码

Update rcore_ios.c

pull/3880/head
blueloveTH 1年前
父节点
当前提交
c0ac3471f7
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      src/platforms/rcore_ios.c

+ 3
- 0
src/platforms/rcore_ios.c 查看文件

@ -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){ if(action == TOUCH_ACTION_MOVE){
CORE.Input.Mouse.previousPosition = CORE.Input.Mouse.currentPosition; CORE.Input.Mouse.previousPosition = CORE.Input.Mouse.currentPosition;
}else{ }else{

正在加载...
取消
保存