mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-20 09:52:06 +00:00
Revert hide settings button when not playing
This commit is contained in:
parent
1a5b55fcb5
commit
9e1aa5e9a9
1 changed files with 6 additions and 10 deletions
|
|
@ -179,11 +179,9 @@ export function PlayerPart(props: PlayerPartProps) {
|
|||
) : null}
|
||||
{status === playerStatus.PLAYBACK_ERROR ||
|
||||
status === playerStatus.PLAYING ? (
|
||||
<>
|
||||
<Player.Captions />
|
||||
<Player.Settings />
|
||||
</>
|
||||
<Player.Captions />
|
||||
) : null}
|
||||
<Player.Settings />
|
||||
{isShifting || isHoldingFullscreen ? (
|
||||
<Player.Widescreen />
|
||||
) : (
|
||||
|
|
@ -200,13 +198,11 @@ export function PlayerPart(props: PlayerPartProps) {
|
|||
)}
|
||||
<Player.Episodes inControl={inControl} />
|
||||
{status === playerStatus.PLAYING ? (
|
||||
<>
|
||||
<div className="hidden ssm:block">
|
||||
<Player.Captions />
|
||||
</div>
|
||||
<Player.Settings />
|
||||
</>
|
||||
<div className="hidden ssm:block">
|
||||
<Player.Captions />
|
||||
</div>
|
||||
) : null}
|
||||
<Player.Settings />
|
||||
</div>
|
||||
<div>
|
||||
{status === playerStatus.PLAYING && (
|
||||
|
|
|
|||
Loading…
Reference in a new issue