This verifies that the offset of the new beat timing is later than the current one.

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
Nic0Nic0Nii 3 years ago
parent 5335a4a4e8
commit b19eff2e03
  1. 2
      LLSIG/src/main/java/LLSIG/LLSIG.java

@ -131,7 +131,7 @@ public class LLSIG implements KeyListener{
canvas.update();
if (PLAYING) {
for (BeatTiming bt : timings) {
if (bt.active&&musicPlayer.getPlayPosition()>=bt.offset) {
if (bt.active&&musicPlayer.getPlayPosition()>=bt.offset&&bt.offset>offset) {
bt.active=false;
bpm=bt.bpm;
offset=bt.offset;

Loading…
Cancel
Save