Update version 5
This commit is contained in:
@@ -133,12 +133,13 @@ sheetmgr = {
|
|||||||
for(var i in raw) {
|
for(var i in raw) {
|
||||||
var key = Number(raw[i].key.replace(/^(\d)Key(\d{1,})$/, "$2"));
|
var key = Number(raw[i].key.replace(/^(\d)Key(\d{1,})$/, "$2"));
|
||||||
if(raw[i].time != t_time) {
|
if(raw[i].time != t_time) {
|
||||||
r.push({time: t_time, keys: t_sets});
|
r.push({time: t_time, keys: t_sets});
|
||||||
t_sets = [];
|
t_sets = [];
|
||||||
t_time = raw[i].time;
|
t_time = raw[i].time;
|
||||||
}
|
}
|
||||||
if(t_sets.indexOf(key) == -1) t_sets.push(key);
|
if(t_sets.indexOf(key) == -1) t_sets.push(key);
|
||||||
}
|
}
|
||||||
|
r.push({time: t_time, keys: t_sets});
|
||||||
return r;
|
return r;
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -250,6 +251,7 @@ sheetplayer = {
|
|||||||
this.pitch = j.pitchLevel;
|
this.pitch = j.pitchLevel;
|
||||||
this.bpm = j.bpm;
|
this.bpm = j.bpm;
|
||||||
this.noteCount = j.songNotes.length;
|
this.noteCount = j.songNotes.length;
|
||||||
|
toast(this.notes[this.noteCount - 1].keys)
|
||||||
},
|
},
|
||||||
|
|
||||||
toSource: function(obj) {
|
toSource: function(obj) {
|
||||||
@@ -279,8 +281,7 @@ config = {
|
|||||||
skipRunScriptTip: false,
|
skipRunScriptTip: false,
|
||||||
skipOpenWindowTip: false,
|
skipOpenWindowTip: false,
|
||||||
skipOnlineUploadSkip: false,
|
skipOnlineUploadSkip: false,
|
||||||
currentVersion: 4,
|
currentVersion: 5,
|
||||||
play_mode: 1, //1 = Accessbility, 2 = RootAutomator
|
|
||||||
gitVersion: "",
|
gitVersion: "",
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -1645,7 +1646,7 @@ gui = {
|
|||||||
}
|
}
|
||||||
});},
|
});},
|
||||||
refreshStatus: function() { gui.run(function(){
|
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_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);
|
gui.player_panel._global_seek.setProgress(sheetplayer.currentNote);
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
版本: 5
|
||||||
|
更新时间: 2020.07.24 13:00
|
||||||
|
更新内容:
|
||||||
|
* 修复了乐谱最后一个键不弹的问题
|
||||||
|
* 增加了启动提示
|
||||||
|
|
||||||
版本: 4
|
版本: 4
|
||||||
更新时间: 2020.07.23 11:41
|
更新时间: 2020.07.23 11:41
|
||||||
更新内容:
|
更新内容:
|
||||||
|
|||||||
Reference in New Issue
Block a user