diff --git a/assets/img/downIcon.png b/assets/img/downIcon.png new file mode 100644 index 0000000..b79de31 Binary files /dev/null and b/assets/img/downIcon.png differ diff --git a/assets/img/play.png b/assets/img/play.png index 9499d3e..ff0944b 100644 Binary files a/assets/img/play.png and b/assets/img/play.png differ diff --git a/src/components/active-color.js b/src/components/active-color.js index 5ec731f..13ad6ac 100644 --- a/src/components/active-color.js +++ b/src/components/active-color.js @@ -17,8 +17,7 @@ AFRAME.registerComponent('active-color', { var el = this.el; if (this.data.active) { - el.setAttribute('material', 'color', this.data.color); - el.setAttribute('material', 'opacity', 1); + el.setAttribute('material', {'color': this.data.color, 'opacity': 1}); } else { el.setAttribute('material', 'color', this.defaultColor); if (el.components.animation__mouseleave) { diff --git a/src/index.html b/src/index.html index fc3eaf2..d465e6f 100644 --- a/src/index.html +++ b/src/index.html @@ -12,7 +12,7 @@ bind__song-preview-system="selectedChallengeId: menuSelectedChallenge.id" console-shortcuts effect-bloom="strength: 0.7" - proxy-event="event: menuchallengeselect; to: #searchResultsContainer, #menuDifficulties" + proxy-event="event: menuchallengeselect; to: #searchResultsContainer, #menuDifficultiesGroup" overlay="object: #menu" search stage-colors="blue" @@ -32,6 +32,7 @@ + diff --git a/src/templates/menu.html b/src/templates/menu.html index 54a0630..0943aed 100644 --- a/src/templates/menu.html +++ b/src/templates/menu.html @@ -14,8 +14,12 @@ slice9="width: 0.5; height: 0.08; padding: 0.03" text="align: center; wrapCount: 40; zOffset: 0.001"> - - + + + + + + {% endmacro %} {% raw %} @@ -70,7 +74,7 @@ {% endraw %} - + + proxy-event__divisor1="event: menuchallengeselect; to: #divisorA, #divisorB" + proxy-event__divisor2="event: menuback; to: #divisorA, #divisorB"> - @@ -92,15 +96,25 @@ {{ searchResults() }} - - {% raw %} + + + + + + {% raw %} {% endraw %} + + position="0.82 0 0.001"> + position="0 0.382 0"> - - - - - + + + + +