Fix debug
This commit is contained in:
@@ -144,7 +144,7 @@ class Debug{
|
|||||||
this.offsetChange(this.offsetSlider.get(), true)
|
this.offsetChange(this.offsetSlider.get(), true)
|
||||||
this.branchChange(null, true)
|
this.branchChange(null, true)
|
||||||
this.volumeChange(this.volumeSlider.get(), true)
|
this.volumeChange(this.volumeSlider.get(), true)
|
||||||
this.lyricsChange(this.lyricsSlider.get())
|
this.lyricsChange(this.lyricsSlider.get(), true)
|
||||||
}else{
|
}else{
|
||||||
this.songHash = selectedSong.hash
|
this.songHash = selectedSong.hash
|
||||||
this.offsetSlider.set(this.defaultOffset)
|
this.offsetSlider.set(this.defaultOffset)
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class Lyrics{
|
|||||||
if(index !== -1){
|
if(index !== -1){
|
||||||
time = cmd
|
time = cmd
|
||||||
}else{
|
}else{
|
||||||
var matches = value.match(rLinebreak)
|
var matches = value.match(this.rLinebreak)
|
||||||
if(matches){
|
if(matches){
|
||||||
var value1 = value.slice(0, matches.index)
|
var value1 = value.slice(0, matches.index)
|
||||||
index = value1.indexOf(arrow)
|
index = value1.indexOf(arrow)
|
||||||
|
|||||||
Reference in New Issue
Block a user