This commit is contained in:
parent
1792648e8d
commit
666584e022
@ -107,12 +107,16 @@ export default class Overlay extends Component<OverlayProps, OverlayState> {
|
|||||||
return (
|
return (
|
||||||
<main>
|
<main>
|
||||||
<div>
|
<div>
|
||||||
<PlayerStats player={player} />
|
{this.state.settings.settings.showPlayerStats && (
|
||||||
<ScoreStats />
|
<PlayerStats player={player} />
|
||||||
</div>
|
)}
|
||||||
<div className="absolute bottom-0 left-0">
|
{this.state.settings.settings.showScoreStats && <ScoreStats />}
|
||||||
<SongInfo />
|
|
||||||
</div>
|
</div>
|
||||||
|
{this.state.settings.settings.showSongInfo && (
|
||||||
|
<div className="absolute bottom-0 left-0">
|
||||||
|
<SongInfo />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user