Просмотр исходного кода

Refix again. Could have been a bad merge this time.

Ken Whatmough 13 лет назад
Родитель
Сommit
69f9a0c81d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      gameplay/src/PlatformMacOSX.mm

+ 1 - 1
gameplay/src/PlatformMacOSX.mm

@@ -935,7 +935,7 @@ static CVReturn MyDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTime
 - (void) mouseDragged: (NSEvent*) event
 {
     NSPoint point = [self convertPoint:[event locationInWindow] fromView:nil];
-    if (__leftMouseDown)
+    if (__leftMouseDown && !__mouseCaptured)
     {
         [self mouse: Mouse::MOUSE_MOVE orTouchEvent: Touch::TOUCH_MOVE x: point.x y: __height - point.y s: 0];
     }