forked from ScoDoc/ScoDoc
Assiduité: conflit_resolver bug affichage #904
This commit is contained in:
parent
80bd02114e
commit
07a8658672
@ -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 + "%";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user