Skip to content

Commit

Permalink
add XREye.none
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Jul 17, 2019
1 parent ffc943f commit 7ccc7b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/script/dom/webidls/XRView.webidl
Expand Up @@ -7,7 +7,7 @@
enum XREye {
"left",
"right",
"unknown",
"none",
};

[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
Expand Down
2 changes: 1 addition & 1 deletion components/script/dom/xrviewerpose.rs
Expand Up @@ -42,7 +42,7 @@ impl XRViewerPose {
rooted_vec!(let mut views);
session.with_session(|s| match s.views() {
Views::Mono(view) => {
views.push(XRView::new(global, session, &view, XREye::Unknown, &pose))
views.push(XRView::new(global, session, &view, XREye::None, &pose))
},
Views::Stereo(left, right) => {
views.push(XRView::new(global, session, &left, XREye::Left, &pose));
Expand Down

0 comments on commit 7ccc7b3

Please sign in to comment.