Move the stop button beside the forward controls
It follows Forward 10 seconds (or Next episode), with a matching spacer on the other side so play/pause stays centred. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
624f01f745
commit
0d423eb708
2 changed files with 8 additions and 2 deletions
|
|
@ -1025,6 +1025,8 @@ export function PlayerOverlay() {
|
|||
</span>
|
||||
</div>
|
||||
<div className="player-controls-center">
|
||||
{/* Balances Stop on the other side, so play/pause stays centred. */}
|
||||
<span className="player-icon-spacer" aria-hidden="true" />
|
||||
{/* Both episode buttons stay for episodes (dimmed at either end) so play/pause holds its place. */}
|
||||
{item.type === 'episode' && (
|
||||
<button
|
||||
|
|
@ -1057,11 +1059,11 @@ export function PlayerOverlay() {
|
|||
<Icon name="skipNext" size={22} />
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
<div className="player-controls-right">
|
||||
<button className="player-icon" aria-label="Stop playback" title="Stop" onClick={() => st.close()}>
|
||||
<Icon name="stop" size={19} />
|
||||
</button>
|
||||
</div>
|
||||
<div className="player-controls-right">
|
||||
<button className={`player-icon${panel === 'tracks' ? ' on' : ''}${st.subKey ? ' lit' : ''}`} aria-label="Audio and subtitles" onClick={() => setPanel(panel === 'tracks' ? '' : 'tracks')}>
|
||||
<Icon name="captions" size={23} />
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -350,6 +350,10 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
.player-controls-center {
|
||||
gap: 10px;
|
||||
}
|
||||
.player-icon-spacer {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
.player-icon:disabled {
|
||||
opacity: 0.32;
|
||||
pointer-events: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue