Song select fixes
- Searching diverge:yes returns songs with branches - Fade out music slightly while search window is open - When opening search box with a saved query, all the text gets selected - Fix Ctrl+F not working during song select fade in - Fix edge case highlighting only working on lowercase letters - Fix right clicking selected text in the search box so it no longer gets unselected - Fix Netplay option appearing when netplay is offline - Use category id instead of name in the generated stylesheet - Languages can choose to fallback to english instead of japanese with preferEn
This commit is contained in:
@@ -77,7 +77,7 @@ class Lyrics{
|
||||
break
|
||||
}
|
||||
var lang = text.slice(index1 + 6, index2).toLowerCase()
|
||||
if(strings.id === lang){
|
||||
if(strings.preferEn && lang === "en" || strings.id === lang){
|
||||
var index3 = text.indexOf("<lang ", index2 + 1)
|
||||
if(index3 !== -1){
|
||||
textLang = text.slice(index2 + 1, index3)
|
||||
|
||||
Reference in New Issue
Block a user