浏览代码

Update babylon.arcrotatecamera.input.pointers.ts

Gijs Schenk 8 年之前
父节点
当前提交
4d1c348f42
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Cameras/Inputs/babylon.arcrotatecamera.input.pointers.ts

+ 1 - 1
src/Cameras/Inputs/babylon.arcrotatecamera.input.pointers.ts

@@ -42,7 +42,7 @@ module BABYLON {
             this._pointerInput = (p, s) => {
                 var evt = <PointerEvent>p.event;
 
-                if (this.buttons.indexOf(evt.button) === -1) {
+                if (p.type !== PointerEventTypes.POINTERMOVE && this.buttons.indexOf(evt.button) === -1) {
                     return;
                 }