Update version 5

This commit is contained in:
StageGuard
2020-07-24 13:02:25 +08:00
parent fb887dea3e
commit 7659b7a911
2 changed files with 11 additions and 4 deletions

View File

@@ -139,6 +139,7 @@ sheetmgr = {
}
if(t_sets.indexOf(key) == -1) t_sets.push(key);
}
r.push({time: t_time, keys: t_sets});
return r;
},
@@ -250,6 +251,7 @@ sheetplayer = {
this.pitch = j.pitchLevel;
this.bpm = j.bpm;
this.noteCount = j.songNotes.length;
toast(this.notes[this.noteCount - 1].keys)
},
toSource: function(obj) {
@@ -279,8 +281,7 @@ config = {
skipRunScriptTip: false,
skipOpenWindowTip: false,
skipOnlineUploadSkip: false,
currentVersion: 4,
play_mode: 1, //1 = Accessbility, 2 = RootAutomator
currentVersion: 5,
gitVersion: "",
},
@@ -1645,7 +1646,7 @@ gui = {
}
});},
refreshStatus: function() { gui.run(function(){
gui.player_panel._global_status.setText(String(sheetplayer.playing ? (sheetplayer.currentNote + "/" + sheetplayer.noteCount) : (sheetplayer.thread == null ? "Idle" : "Paused")));
gui.player_panel._global_status.setText(String(sheetplayer.playing ? (sheetplayer.currentNote + "/" + sheetplayer.noteCount + " -> " + sheetplayer.nextInterval) : (sheetplayer.thread == null ? "Idle" : "Paused")));
gui.player_panel._global_cnote.setText(String(sheetplayer.playing ? (sheetplayer.notes[sheetplayer.currentNote < sheetplayer.noteCount ? sheetplayer.currentNote : sheetplayer.noteCount - 1].keys) : "-"));
gui.player_panel._global_seek.setProgress(sheetplayer.currentNote);

View File

@@ -1,3 +1,9 @@
版本: 5
更新时间: 2020.07.24 13:00
更新内容:
* 修复了乐谱最后一个键不弹的问题
* 增加了启动提示
版本: 4
更新时间: 2020.07.23 11:41
更新内容: