Kaynağa Gözat

Fix: re-enable MouseWheel.

duncan law 7 yıl önce
ebeveyn
işleme
8059b03db1
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/Cameras/followCamera.ts

+ 1 - 1
src/Cameras/followCamera.ts

@@ -120,7 +120,7 @@ export class FollowCamera extends TargetCamera {
 
 
         this.lockedTarget = lockedTarget;
         this.lockedTarget = lockedTarget;
         this.inputs = new FollowCameraInputsManager(this);
         this.inputs = new FollowCameraInputsManager(this);
-        this.inputs.addKeyboard()/*.addMouseWheel()*/.addPointers();
+        this.inputs.addKeyboard().addMouseWheel().addPointers();
         // Uncomment the following line when the relevant handlers have been implemented.
         // Uncomment the following line when the relevant handlers have been implemented.
         // this.inputs.addKeyboard().addMouseWheel().addPointers().addVRDeviceOrientation();
         // this.inputs.addKeyboard().addMouseWheel().addPointers().addVRDeviceOrientation();
     }
     }