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

Commit

Permalink
Hide interstitial when immersive mode (#3209)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored Apr 22, 2020
1 parent 65b7db4 commit 34f07c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/cpp/BrowserWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ BrowserWorld::State::CheckBackButton() {
bool
BrowserWorld::State::CheckExitImmersive() {
if (exitImmersiveRequested && externalVR->IsPresenting()) {
webXRInterstialState = WebXRInterstialState::HIDDEN;
externalVR->StopPresenting();
blitter->StopPresenting();
exitImmersiveRequested = false;
Expand Down

0 comments on commit 34f07c6

Please sign in to comment.