Skip to content

Commit 6887c0a

Browse files
authored
Issue: Fixing a crash when a sheet has beats 0 and then you go to the last sheet. (#404)
1 parent 8a847c4 commit 6887c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/CalChartAnimation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ void Animation::GotoBeat(unsigned i)
204204

205205
void Animation::GotoSheet(unsigned i)
206206
{
207-
mCurrentSheetNumber = i;
207+
mCurrentSheetNumber = mAnimSheetIndices.at(i);
208208
RefreshSheet();
209209
}
210210

0 commit comments

Comments
 (0)