File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 3030 display : flex ;
3131 }
3232
33+ &__combo {
34+ &--perfect {
35+ color : hsl (@beatmap-score--hsl-perfect );
36+ }
37+ }
38+
3339 &__country-flag {
3440 align-self : center ;
3541 }
Original file line number Diff line number Diff line change @@ -82,11 +82,14 @@ export default observer(function Score(props: Props) {
8282 < div className = { classWithModifiers ( 'mp-history-player-score__stat-row' , 'first' ) } >
8383 { firstRow . map ( ( m ) => {
8484 let modifier = 'medium' ;
85- let value ;
85+ let value : React . ReactNode ;
8686
8787 switch ( m ) {
8888 case 'combo' :
89- value = formatNumber ( props . score . max_combo ) ;
89+ value =
90+ ( < span className = { classWithModifiers ( 'mp-history-player-score__combo' , { perfect : props . score . is_perfect_combo } ) } >
91+ { formatNumber ( props . score . max_combo ) }
92+ </ span > ) ;
9093 break ;
9194
9295 case 'accuracy' :
You can’t perform that action at this time.
0 commit comments