Raanan Weber 9 years ago
parent
commit
362cac27a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Cameras/Inputs/babylon.arcrotatecamera.input.mousewheel.ts

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

@@ -11,7 +11,7 @@ module BABYLON {
         public attachControl(element: HTMLElement, noPreventDefault?: boolean) {
             this._wheel = (p, s) => {
                 //sanity check - this should be a PointerWheel event.
-                if (p.type !== PointerEventType.PointerWheel) return;
+                if (p.type !== PointerEventTypes.POINTERWHEEL) return;
                 var event = <MouseWheelEvent>p.event;
                 var delta = 0;
                 if (event.wheelDelta) {