mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
fix: Player - show the time offset after the duration is loaded as well
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
This commit is contained in:
parent
8fb09b0026
commit
0b4ba3ae11
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ const SeekBar = ({ className, time, duration, buffered, onSeekRequested }) => {
|
|||
}, []);
|
||||
return (
|
||||
<div className={classnames(className, styles['seek-bar-container'], { 'active': seekTime !== null })}>
|
||||
<div className={styles['label']}>{formatTime(seekTime !== null ? seekTime : time)}</div>
|
||||
<div className={styles['label']}>{ formatTime(!disabled ? (seekTime !== null ? seekTime : time) : null )}</div>
|
||||
<Slider
|
||||
className={classnames(styles['slider'], { 'active': seekTime !== null })}
|
||||
value={
|
||||
|
|
|
|||
Loading…
Reference in a new issue