File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ export class DeviceService {
668668 }
669669
670670 get isPresentingHMD ( ) : boolean {
671- return this . frameState . isPresentingHMD ;
671+ return this . frameState . isPresentingHMD || ! ! this . _vrDisplay && this . _vrDisplay . isPresenting ;
672672 }
673673
674674 requestPresentHMD ( ) : Promise < void > {
@@ -942,6 +942,7 @@ export class DeviceServiceProvider {
942942 stableState . geolocationDesired = this . contextServiceProvider . geolocationDesired ;
943943 stableState . geolocationOptions = this . contextServiceProvider . desiredGeolocationOptions ;
944944 stableState . suggestedUserHeight = this . suggestedUserHeight ;
945+ stableState . isPresentingHMD = this . deviceService . isPresentingHMD ;
945946
946947 this . onUpdateStableState ( this . deviceService . _stableState ) ;
947948
You can’t perform that action at this time.
0 commit comments