First syllabe on some lines don't get colorized
Closed this issue · 2 comments
As the screenshot shows, the first syllabe on many subs (not all of them) doesn't get colorized during a karaoke.
On some ASS files this problem never occurs for some reason.
Example :
https://live.karaokes.moe/?video=%20PV%20-JAP%20-%20Penguin%20Highway%20
The line gets correctly colirzed when it reaches its end though, for some reason.
After doing some research it seems it happens if the line has a \fad command at the beginning.
Hope that helps.
The problem was actually that a few commits ago I decided to keep all of the transitions in order sorted by their start time. This made it easier to check which transitions needed to be fired. Unfortunately, not all of the times were being given as numbers; some were still strings, and so when I was comparing them, it was comparing them as strings instead of numbers and they ended up in the wrong spot.