Skip to content

Commit

Permalink
record: sss have special color (not fc)
Browse files Browse the repository at this point in the history
  • Loading branch information
Teages committed Dec 4, 2023
1 parent 7f051db commit d91e6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/records/[chartId]/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const scoreTextColor = computed(() => {
if (data.value?.record?.score === 1000000) {
return 'grade-max-text-gradient'
}
if (data.value?.record?.details.maxCombo === data.value?.record?.chart?.notesCount) {
if ((data.value?.record?.score ?? 0) > 999000) {
return 'grade-sss-text-gradient'
}
})
Expand Down

0 comments on commit d91e6ca

Please sign in to comment.