hide leaderboard be the first text on qualify
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<a-entity
|
||||
id="leaderboard"
|
||||
class="overlay accuracyTextCounterSubscribe"
|
||||
position="2 1.1 -1.27"
|
||||
rotation="0 -50 0"
|
||||
bind__animation="enabled: isVictory"
|
||||
bind__scale="isVictory && '0 0 0' || '1 1 1'"
|
||||
bind__visible="(!!menuSelectedChallenge.id || !!challenge.id) && (menuActive || isPaused || isVictory) && !genreMenuOpen"
|
||||
position="2.2 1.1 -1.27"
|
||||
rotation="0 -60 0"
|
||||
animation="property: scale; from: 0 0 0; to: 1 1 1; easing: easeOutBack; startEvents: textcounterdone">
|
||||
|
||||
<a-entity
|
||||
@@ -47,7 +47,7 @@
|
||||
<a-entity
|
||||
id="leaderboardEmpty"
|
||||
mixin="font"
|
||||
bind__visible="leaderboard.length === 0"
|
||||
bind__visible="leaderboard.length === 0 && !leaderboardQualified"
|
||||
text="align: center; color: #777; baseline: center; width: 1.6; value: No high scores. Be the first!"
|
||||
position="0 0 0.001"></a-entity>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user