Don't recenter menu

This commit is contained in:
Diego Marcos
2018-09-14 12:58:41 -07:00
parent b46898da80
commit 82a0e18bf6
2 changed files with 2 additions and 1 deletions

View File

@@ -37,7 +37,7 @@
<a-mixin id="textFont" text="font: assets/fonts/Teko-Bold.json; shader: msdf; letterSpacing: 1"></a-mixin>
</a-assets>
<a-entity id="container" bind__recenter="enabled: menu.active" recenter="target: #menu">
<a-entity id="container">
{% include './templates/stage.html' %}
{% include './templates/gameUi.html' %}
{% include './templates/menu.html' %}

View File

@@ -40,6 +40,7 @@ AFRAME.registerState({
screen: hasInitialChallenge ? 'challenge' : 'home',
screenHistory: [],
search: {
active: false,
page: 0,
hasNext: false,
hasPrev: false,