소스 검색

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;
                 }