Skip to content

Commit

Permalink
Removed bracket.js
Browse files Browse the repository at this point in the history
  • Loading branch information
perminder-17 authored Nov 9, 2023
1 parent 3b0c5a8 commit e375f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webgl/interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 * (cam.yScale));
moveDeltaY = this.movedY * cam.yScale;
}
// start rotate and move when mouse is pressed within the canvas.
if (pointersInCanvas) this._renderer.executeRotateAndMove = true;
Expand Down

0 comments on commit e375f7f

Please sign in to comment.