Update version 5
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
版本: 5
|
||||
更新时间: 2020.07.24 13:00
|
||||
更新内容:
|
||||
* 修复了乐谱最后一个键不弹的问题
|
||||
* 增加了启动提示
|
||||
|
||||
版本: 4
|
||||
更新时间: 2020.07.23 11:41
|
||||
更新内容:
|
||||
|
||||
Reference in New Issue
Block a user