diff --git a/src/state/index.js b/src/state/index.js index e18a285..4953f35 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 6ad7239..c41932f 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..4321571 100644 --- a/src/templates/tutorial.html +++ b/src/templates/tutorial.html @@ -1,18 +1,19 @@ + bind__visible="menuActive"> - + - + + bind__visible="menuActive"> - - - -