Corrections de bugs / tickets Assidiutés #916

Merged
viennet merged 12 commits from iziram/ScoDoc:assiduites_fixes into master 2024-06-04 23:09:46 +02:00
Showing only changes of commit 07a8658672 - Show all commits

View File

@ -59,7 +59,7 @@ function getWidth(start, end) {
const duration = (endTime - startTime) / 1000 / 60;
const percent = (duration / (t_end * 60 - t_start * 60)) * 100;
const percent = Math.min((duration / (t_end * 60 - t_start * 60)) * 100, 100);
return percent + "%";
}