Fixed bug #795945 "Text colour appearing in shadow" now within 80 columns

This commit is contained in:
Simon Scudder 2011-06-11 15:14:20 -03:00
parent 335e276d6d
commit 0b2f446856

View File

@ -261,7 +261,8 @@ sup {
clearTimeout(timer); clearTimeout(timer);
text_fade('lyricsmain', newtext); text_fade('lyricsmain', newtext);
text_fade('lyricsoutline', newtext); text_fade('lyricsoutline', newtext);
text_fade('lyricsshadow', newtext.replace(/-webkit-text-fill-color:[^;\"]+/gi, "")); cleantext = newtext.replace(/-webkit-text-fill-color:[^;\"]+/gi, "");
text_fade('lyricsshadow', cleantext);
if(text_opacity()==1) return; if(text_opacity()==1) return;
timer = setTimeout(function(){ timer = setTimeout(function(){
show_text(newtext); show_text(newtext);