movementX and movementY are greatly affected by dev tools chrome


The output of pointerInfo.event.movementX and Y is greatly lower (x10) with dev tools open on Chrome , no issue on Firefox.
I have tried in incognito mode and on a very large screen and got the same or similar results.

Is this a Chrome issue or a Babylon issue?

    scene.onPointerObservable.add((pointerInfo) => {		
        if(pointerInfo.event.buttons === 2){
            panning = [pointerInfo.event.movementX, pointerInfo.event.movementY]
            panning = false

Hello and welcome to babylon.js!


Thanks @roland
I will pivot to a new approach. The example at MDN Web Docs is also effected by dev tools open.
Much appreciated

1 Like

You’re welcome!