Merge pull request #495 from Vocaluxe/FixSubLineAlphaCalculation_release-0.4.1
Fix alpha calculation for last sub line (release-0.4.1)
This commit is contained in:
commit
c05f2ab548
1 file changed
+1
-1
@@ -1114,7 +1114,7 @@ namespace Vocaluxe.Screens
|
|||||||
}
|
}
|
||||||
|
|
||||||
// sub
|
// sub
|
||||||
if (currentLineSub < lines.Length - 2)
|
if ((currentLineSub + 1) < lines.Length)
|
||||||
{
|
{
|
||||||
float diff = CGame.GetTimeFromBeats(lines[currentLineSub + 1].FirstNoteBeat, song.BPM) - currentTime;
|
float diff = CGame.GetTimeFromBeats(lines[currentLineSub + 1].FirstNoteBeat, song.BPM) - currentTime;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user