Merge pull request #494 from Vocaluxe/FixSubLineAlphaCalculation

Fix alpha calculation for last sub line
This commit is contained in:
Stefan authored and GitHub committed 2020-02-09 20:20:44 +01:00
commit 2dce2aeeb2
1 file changed
+1 -1
+1 -1
View File
@@ -1459,7 +1459,7 @@ namespace Vocaluxe.Screens
}
// sub
if (currentLineSub < lines.Length - 2)
if ((currentLineSub + 1) < lines.Length)
{
float diff = CGame.GetTimeFromBeats(lines[currentLineSub + 1].FirstNoteBeat, song.BPM) - currentTime;