diff --git a/src/state/index.js b/src/state/index.js index 9f2adce..e1bfbce 100644 --- a/src/state/index.js +++ b/src/state/index.js @@ -97,8 +97,7 @@ AFRAME.registerState({ songNameTexts: '', // All names in search results merged together. songSubNameTexts: '' // All sub names in search results merged together. }, - searchResultsPage: [], - tutorialActive: false + searchResultsPage: [] }, handlers: { @@ -382,16 +381,6 @@ AFRAME.registerState({ state.isSongLoading = true; }, - tutorialclose: (state) => { - state.menuActive = true; - state.tutorialActive = false; - }, - - tutorialopen: (state) => { - state.menuActive = false; - state.tutorialActive = true; - }, - 'enter-vr': (state) => { state.inVR = true; }, diff --git a/src/templates/menu.html b/src/templates/menu.html index 7037280..2380e66 100644 --- a/src/templates/menu.html +++ b/src/templates/menu.html @@ -309,7 +309,7 @@ proxy-event__accept="event: superkeyboardinput; to: a-scene; as: keyboardclose"> - + - + - - - - diff --git a/src/templates/tutorial.html b/src/templates/tutorial.html index 20e848b..7c5d757 100644 --- a/src/templates/tutorial.html +++ b/src/templates/tutorial.html @@ -1,9 +1,10 @@ + bind__visible="menuActive"> @@ -25,9 +26,10 @@ + bind__visible="menuActive"> - - - -