This commit is contained in:
StageGuard
2020-12-02 23:39:13 +08:00
parent 526c07fcde
commit a197b02fdf

View File

@@ -286,7 +286,9 @@ sheetplayer = {
sheetplayer.currentNote ++;
}
// 播放完自动下一首
if(config.values.autoPlay && !(sheetplayer.currentNote < sheetplayer.noteCount) && gui.player_panel.isShowing) {
if(!(sheetplayer.currentNote < sheetplayer.noteCount)) {
if(config.values.autoPlay && gui.player_panel.isShowing) {
gui.player_panel.__internal_dismiss();
sheetplayer.stop();
// gui.main.show(0);
@@ -303,6 +305,9 @@ sheetplayer = {
}, 1500)
}, 500)
}
} else {
sheetplayer.stop();
}
}
});
},
@@ -2031,7 +2036,6 @@ gui = {
};
gui.run(function(){
ui.setContentView((function(){
var layout = new android.widget.LinearLayout(ctx);