Make flashing play btn on 15 secs remaining
This commit is contained in:
parent
0efe10f8a3
commit
859bce7afd
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ function Player({ id }: { id: number }) {
|
|||
<div className="mediaButtons">
|
||||
<button
|
||||
onClick={() => dispatch(MixerState.play(id))}
|
||||
className={(playerState.state === "playing" ? ((playerState.timeRemaining < 15) ? "sp-state-playing sp-ending-soon" : "sp-state-playing") : "")}
|
||||
className={(playerState.state === "playing" ? ((playerState.timeRemaining <= 15) ? "sp-state-playing sp-ending-soon" : "sp-state-playing") : "")}
|
||||
>
|
||||
<i className="fas fa-play"></i>
|
||||
</button>
|
||||
|
|
Loading…
Reference in a new issue