This verifies that the offset of the new beat timing is later than the current one.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
5335a4a4e8
commit
b19eff2e03
@ -131,7 +131,7 @@ public class LLSIG implements KeyListener{
|
|||||||
canvas.update();
|
canvas.update();
|
||||||
if (PLAYING) {
|
if (PLAYING) {
|
||||||
for (BeatTiming bt : timings) {
|
for (BeatTiming bt : timings) {
|
||||||
if (bt.active&&musicPlayer.getPlayPosition()>=bt.offset) {
|
if (bt.active&&musicPlayer.getPlayPosition()>=bt.offset&&bt.offset>offset) {
|
||||||
bt.active=false;
|
bt.active=false;
|
||||||
bpm=bt.bpm;
|
bpm=bt.bpm;
|
||||||
offset=bt.offset;
|
offset=bt.offset;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user