ソースを参照

Merge branch 'next' of https://github.com/blackberry/GamePlay into next

sgrenier 13 年 前
コミット
30ec3f771c
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];
     }