Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Reposition UI in front of the user when exiting a VR video. (#2447)
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro authored and keianhzo committed Dec 13, 2019
1 parent 52a5057 commit e14e595
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,9 @@ private void exitVRVideo() {
mAttachedWindow.disableVRVideoMode();
mAttachedWindow.setVisible(true);
mMediaControlsWidget.setVisible(false);

// Reposition UI in front of the user when exiting a VR video.
mWidgetManager.resetUIYaw();
}

private void setResizePreset(float aMultiplier) {
Expand Down

0 comments on commit e14e595

Please sign in to comment.