also account for instrumental offset

It seems that it is tied to both of them
This commit is contained in:
Kade 2024-09-17 15:58:58 -07:00
parent caa4d290f7
commit a87615ff7c
No known key found for this signature in database

View file

@ -409,11 +409,11 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
{
if (id == 1)
{
member.time = (scrollPositionInMs - currentVocalOffsetOpponent) / Constants.MS_PER_SEC;
member.time = ((scrollPositionInMs - currentVocalOffsetOpponent) - currentInstrumentalOffset) / Constants.MS_PER_SEC;
}
else
{
member.time = (scrollPositionInMs - currentVocalOffsetPlayer) / Constants.MS_PER_SEC;
member.time = ((scrollPositionInMs - currentVocalOffsetOpponent) - currentInstrumentalOffset) / Constants.MS_PER_SEC;
}
id++;
// Doing this desyncs the waveforms from the grid.