mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-22 17:05:49 +02:00
Fix debug
This commit is contained in:
parent
3679c27986
commit
18b6e7dfc2
@ -144,7 +144,7 @@ class Debug{
|
||||
this.offsetChange(this.offsetSlider.get(), true)
|
||||
this.branchChange(null, true)
|
||||
this.volumeChange(this.volumeSlider.get(), true)
|
||||
this.lyricsChange(this.lyricsSlider.get())
|
||||
this.lyricsChange(this.lyricsSlider.get(), true)
|
||||
}else{
|
||||
this.songHash = selectedSong.hash
|
||||
this.offsetSlider.set(this.defaultOffset)
|
||||
|
@ -42,7 +42,7 @@ class Lyrics{
|
||||
if(index !== -1){
|
||||
time = cmd
|
||||
}else{
|
||||
var matches = value.match(rLinebreak)
|
||||
var matches = value.match(this.rLinebreak)
|
||||
if(matches){
|
||||
var value1 = value.slice(0, matches.index)
|
||||
index = value1.indexOf(arrow)
|
||||
|
Loading…
Reference in New Issue
Block a user