fixed calculation of short songs if a song does not start with beat 0
This commit is contained in:
1 parent
e4c8222da7
commit
002a0045e5
1 file changed
+1
-1
@@ -1016,7 +1016,7 @@ namespace Vocaluxe.Menu.SongMenu
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Calculate length of singing
|
//Calculate length of singing
|
||||||
int stop = (lines.Line[lines.Line.Length - 1].LastNoteBeat - lines.Line[0].FirstNoteBeat) / 2;
|
int stop = (lines.Line[lines.Line.Length - 1].LastNoteBeat - lines.Line[0].FirstNoteBeat) / 2 + lines.Line[0].StartBeat;
|
||||||
|
|
||||||
//Check if stop is in series
|
//Check if stop is in series
|
||||||
for (int i = 0; i < series.Count; i++)
|
for (int i = 0; i < series.Count; i++)
|
||||||
|
|||||||
Reference in new issue
Block a user