Skip to content

Commit

Permalink
fix(controls): remove prevent default in mouseDown.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Jan 11, 2021
1 parent 2dd8e06 commit c866807
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Controls/GlobeControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,6 @@ class GlobeControls extends THREE.EventDispatcher {
this.player.stop();
this.onEndingMove();
if (this.enabled === false) { return; }
event.preventDefault();

this.updateTarget();
previous = CameraUtils.getTransformCameraLookingAtTarget(this.view, this.camera, pickedPosition);
Expand Down

0 comments on commit c866807

Please sign in to comment.