浏览代码

macOS: fix a typo in touch handling code.

Alex Szpakowski 6 年之前
父节点
当前提交
f3683d3a09
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/video/cocoa/SDL_cocoawindow.m

+ 1 - 1
src/video/cocoa/SDL_cocoawindow.m

@@ -1190,7 +1190,7 @@ SetWindowStyle(SDL_Window * window, NSUInteger style)
              * relative coordinates via [touch locationInView:].
              */
             if ([touch type] == NSTouchTypeDirect) {
-                return;
+                continue;
             }
         }
 #endif