Pārlūkot izejas kodu

Update babylon.freecamera.input.mouse.ts

Gijs Schenk 8 gadi atpakaļ
vecāks
revīzija
0c1a1d5526

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