Skip to content

Commit

Permalink
Fix #1298 gyroscope: invalid orientation in landscape
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed May 16, 2024
1 parent 9d0b53d commit 4039c35
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/gyroscope-plugin/src/GyroscopePlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export class GyroscopePlugin extends AbstractConfigurablePlugin<

// force reset
this.controls.deviceOrientation = null;
this.controls.screenOrientation = 0;
this.controls.alphaOffset = 0;

this.state.alphaOffset = this.config.absolutePosition ? 0 : null;
Expand Down

0 comments on commit 4039c35

Please sign in to comment.