finally introduced CNTDWN-1 (allow/disallow overrun)

This commit is contained in:
2023-08-07 16:59:38 +02:00
parent 5398817a1e
commit 704ecb4249
8 changed files with 33 additions and 5 deletions

View File

@ -186,6 +186,9 @@ function handleUpdate() {
progressBar.style.width = percentage(diff, dataFrame.timeAmountInital) + "%";
} else {
progressBar.style.width = "0%";
if(!dataFrame.enableOverrun) {
timer.innerHTML = "00:00:00";
}
}
progressBar.style.backgroundColor = findProgessColor(dataFrame.colorSegments, diff)