浏览代码

Refix due to accidental revert of 9b5424f566.

Ken Whatmough 13 年之前
父节点
当前提交
3a316006f0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gameplay/src/PlatformMacOSX.mm

+ 1 - 1
gameplay/src/PlatformMacOSX.mm

@@ -931,7 +931,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];
     }