forked from openlp/openlp
Fixed bug #795945 "Text colour appearing in shadow"
This commit is contained in:
parent
0b2f446856
commit
9aa9952609
@ -257,12 +257,12 @@ sup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function show_text(newtext){
|
function show_text(newtext){
|
||||||
|
var match = /-webkit-text-fill-color:[^;\"]+/gi;
|
||||||
if(timer != null)
|
if(timer != null)
|
||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
text_fade('lyricsmain', newtext);
|
text_fade('lyricsmain', newtext);
|
||||||
text_fade('lyricsoutline', newtext);
|
text_fade('lyricsoutline', newtext);
|
||||||
cleantext = newtext.replace(/-webkit-text-fill-color:[^;\"]+/gi, "");
|
text_fade('lyricsshadow', newtext.replace(match, ""));
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user