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

Commit

Permalink
Maintain projection menu state between views. Fixes #1807 Fixes #1808 (
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin authored Sep 12, 2019
1 parent 3ae64f9 commit 1ce2c16
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,10 @@ private void exitVRVideo() {
mIsInVRVideo = false;
mWidgetManager.popBackHandler(mVRVideoBackHandler);
mWidgetManager.hideVRVideo();
boolean firstDraw = mProjectionMenu.getPlacement().firstDraw;
mProjectionMenu.getPlacement().copyFrom(mProjectionMenuPlacement);
mProjectionMenu.getPlacement().firstDraw = firstDraw;
mWidgetManager.updateWidget(mProjectionMenu);
closeFloatingMenus();
mWidgetManager.setControllersVisible(true);

Expand Down

0 comments on commit 1ce2c16

Please sign in to comment.