menu-controls allow unselecting / going back, remove unnoticable animations for perf
This commit is contained in:
@@ -131,6 +131,10 @@ AFRAME.registerState({
|
||||
state.menuSelectedChallenge.downloadsText = `${challengeData.downloads} Plays`;
|
||||
},
|
||||
|
||||
menuchallengeunselect: () => {
|
||||
state.menuSelectedChallenge.id = '';
|
||||
},
|
||||
|
||||
menudifficultyselect: (state, difficulty) => {
|
||||
state.menuSelectedChallenge.difficulty = difficulty;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user