diff --git a/src/state/index.js b/src/state/index.js index 0258ab2..2cf4ef3 100644 --- a/src/state/index.js +++ b/src/state/index.js @@ -490,11 +490,14 @@ function computeMenuSelectedChallengeIndex (state) { } function computeMenuSelectedChallengeInfoText (state) { - const numBeats = state.menuSelectedChallenge.numBeats; - const songLength = state.menuSelectedChallenge.songLength; + const challenge = state.menuSelectedChallenge; + + const numBeats = challenge.numBeats; + const songLength = challenge.songLength; if (!numBeats || !songLength) { return; } - state.menuSelectedChallenge.songInfoText = - `${formatSongLength(songLength)} / ${numBeats} beats`; + + challenge.songInfoText = + `${challenge.author}\n${challenge.downloadsText}\n${formatSongLength(songLength)} / ${numBeats} beats`; } function formatSongLength (songLength) { diff --git a/src/templates/menu.html b/src/templates/menu.html index b7c9de2..9492d9d 100644 --- a/src/templates/menu.html +++ b/src/templates/menu.html @@ -215,10 +215,10 @@ bind__text="value: menuSelectedChallenge.songName"> + text="align: center; color: #999; wrapCount: 30; lineHeight: 60; width: 0.8; baseline: bottom" + bind__text="value: menuSelectedChallenge.songInfoText">