diff options
Diffstat (limited to 'src/components/HMI/app/controller/sdl/AppController.js')
-rw-r--r-- | src/components/HMI/app/controller/sdl/AppController.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/HMI/app/controller/sdl/AppController.js b/src/components/HMI/app/controller/sdl/AppController.js index 784e7e8d1c..9e0101dd03 100644 --- a/src/components/HMI/app/controller/sdl/AppController.js +++ b/src/components/HMI/app/controller/sdl/AppController.js @@ -144,6 +144,9 @@ SDL.SDLAppController = Em.Object.create({ */ onVRCommand: function (element) { + if (SDL.SDLModel.VRActive) { + SDL.SDLModel.toggleProperty('VRActive'); + } FFW.VR.onCommand(element.commandID, element.appID); }, |