fix: stop when pause
This commit is contained in:
@@ -285,9 +285,8 @@ sheetplayer = {
|
|||||||
java.lang.Thread.sleep(sheetplayer.nextInterval = Math.round(sheetplayer.nextInterval * sheetplayer.speed));
|
java.lang.Thread.sleep(sheetplayer.nextInterval = Math.round(sheetplayer.nextInterval * sheetplayer.speed));
|
||||||
sheetplayer.currentNote ++;
|
sheetplayer.currentNote ++;
|
||||||
}
|
}
|
||||||
sheetplayer.stop();
|
if(!(sheetplayer.currentNote < sheetplayer.noteCount)) sheetplayer.stop();
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
stop: function() {
|
stop: function() {
|
||||||
@@ -2308,6 +2307,7 @@ gui.dialogs.showProgressDialog(function(o) {
|
|||||||
layout.addView(socialLayout);
|
layout.addView(socialLayout);
|
||||||
}
|
}
|
||||||
scr.addView(layout);
|
scr.addView(layout);
|
||||||
|
|
||||||
return scr;
|
return scr;
|
||||||
});
|
});
|
||||||
gui.main.addPage({
|
gui.main.addPage({
|
||||||
|
|||||||
Reference in New Issue
Block a user