Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix missing detail property in a-scene onVRPresentChange
  • Loading branch information
hapticdata committed Aug 1, 2017
commit 9e1af5ad6e01e8b8206af27a986edc7fd6c763c6
2 changes: 1 addition & 1 deletion src/core/scene/a-scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ module.exports.AScene = registerElement('a-scene', {
onVRPresentChange: {
value: function (evt) {
// Entering VR.
if (evt.display.isPresenting) {
if (evt.detail.display.isPresenting) {
this.enterVR(true);
return;
}
Expand Down