소스 검색

Update babylon.freecamera.input.mouse.ts

Gijs Schenk 8 년 전
부모
커밋
0c1a1d5526
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Cameras/Inputs/babylon.freecamera.input.mouse.ts

+ 1 - 1
src/Cameras/Inputs/babylon.freecamera.input.mouse.ts

@@ -28,7 +28,7 @@ module BABYLON {
                         return;
                     }
 
-                    if(this.buttons.indexOf(evt.button) === -1){
+                    if(p.type !== PointerEventTypes.POINTERMOVE && this.buttons.indexOf(evt.button) === -1){
                         return;
                     }