Browse Source

macOS: fix a typo in touch handling code.

Alex Szpakowski 5 years ago
parent
commit
f3683d3a09
1 changed files with 1 additions and 1 deletions
  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