Skip to content

Commit c36ee09

Browse files
committed
WebVR: Changed button text to make it clear what API is being used.
1 parent 22ff2fe commit c36ee09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/js/vr/WebVR.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var WEBVR = {
4747
session.addEventListener( 'end', onSessionEnded );
4848

4949
renderer.vr.setSession( session );
50-
button.textContent = 'EXIT VR';
50+
button.textContent = 'EXIT XR';
5151

5252
currentSession = session;
5353

@@ -58,7 +58,7 @@ var WEBVR = {
5858
currentSession.removeEventListener( 'end', onSessionEnded );
5959

6060
renderer.vr.setSession( null );
61-
button.textContent = 'ENTER VR';
61+
button.textContent = 'ENTER XR';
6262

6363
currentSession = null;
6464

@@ -72,7 +72,7 @@ var WEBVR = {
7272
button.style.left = 'calc(50% - 50px)';
7373
button.style.width = '100px';
7474

75-
button.textContent = 'ENTER VR';
75+
button.textContent = 'ENTER XR';
7676

7777
button.onmouseenter = function () { button.style.opacity = '1.0'; };
7878
button.onmouseleave = function () { button.style.opacity = '0.5'; };

0 commit comments

Comments
 (0)