This commit fixes a bug in the Update method of the IndicatorBar class. The bug caused the beat index to not reset correctly when it reached the end of the beat list. The fix ensures that the beat index is set to 0 when it exceeds the beat list length.
This commit fixes a bug in the Update method of the IndicatorBar class. The bug caused the beat index to not reset correctly when it reached the end of the beat list. The fix ensures that the beat index is set to 0 when it exceeds the beat list length.