reset progress when nothing is running
This commit is contained in:
parent
b6b532033f
commit
55bd39a52f
@ -242,7 +242,7 @@ async function status() {
|
||||
playlistStore.remainingSec = playlistStore.currentClipStart + playlistStore.currentClipOut - timeInSec
|
||||
const playedSec = playlistStore.currentClipOut - playlistStore.remainingSec
|
||||
|
||||
if (playlistStore.currentClipOut === 0) {
|
||||
if (playlistStore.currentClipOut === 0 || !playlistStore.playoutIsRunning) {
|
||||
playlistStore.progressValue = 0
|
||||
} else {
|
||||
playlistStore.progressValue = (playedSec * 100) / playlistStore.currentClipOut
|
||||
|
Loading…
x
Reference in New Issue
Block a user