Fix debug

This commit is contained in:
LoveEevee 2020-03-30 11:59:42 +03:00
parent 3679c27986
commit 18b6e7dfc2
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)