Commit 18b6e7df authored by LoveEevee's avatar LoveEevee

Fix debug

parent 3679c279
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment