Closed DoomTay closed 6 years ago
Yes, a parameter of 0 causes two keyframes to be generated for the same completion percentage. Eg for your case:
@keyframes animation-0-0-0 {
0.000% {
opacity: 0;
}
5.993% {
opacity: 1;
}
100.000% {
opacity: 1;
}
100.000% {
opacity: 0;
}
}
Since there are two keyframes for 100%, the second overrides the former. So the opacity reaches 1 and immediately starts dropping back to 0.
As a workaround, you can use 0.001
or some smaller value instead of 0
so that both keyframes have different completion percentages.
Example file:
According to the docs, the second number being 0 should mean that the line will end with no fading out, and that's how Aegisub treats it. Libjass, however, will have the line fade immediately for the duration of the line.