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
1 changed files with 2 additions and 1 deletions

View File

@ -261,7 +261,8 @@ sup {
clearTimeout(timer);
text_fade('lyricsmain', 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;
timer = setTimeout(function(){
show_text(newtext);