diff --git a/src/webgl/interaction.js b/src/webgl/interaction.js index c5b1b86f89..828fdd32a2 100644 --- a/src/webgl/interaction.js +++ b/src/webgl/interaction.js @@ -229,7 +229,7 @@ p5.prototype.orbitControl = function( deltaPhi = sensitivityY * this.movedY / scaleFactor; } else if (this.mouseButton === this.RIGHT) { moveDeltaX = this.movedX; - moveDeltaY = this.movedY; + moveDeltaY = this.movedY * cam.yScale; } // start rotate and move when mouse is pressed within the canvas. if (pointersInCanvas) this._renderer.executeRotateAndMove = true;