forked from openlp/openlp
make transition a little faster
This commit is contained in:
parent
2ed067ea0c
commit
92a0d5d7ab
@ -180,7 +180,7 @@ sup {
|
|||||||
*/
|
*/
|
||||||
text.innerHTML = new_text;
|
text.innerHTML = new_text;
|
||||||
text.style.opacity = '1';
|
text.style.opacity = '1';
|
||||||
window.setTimeout(function(){timer = null;}, 500);
|
window.setTimeout(function(){timer = null;}, 350);
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_text_complete(){
|
function show_text_complete(){
|
||||||
@ -323,25 +323,25 @@ def build_lyrics_css(item, webkit_ver):
|
|||||||
z-index: 5;
|
z-index: 5;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: table;
|
display: table;
|
||||||
-webkit-transition: opacity 0.5s ease;
|
-webkit-transition: opacity 0.4s ease;
|
||||||
%s
|
%s
|
||||||
}
|
}
|
||||||
.lyricscell {
|
.lyricscell {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
-webkit-transition: opacity 0.5s ease;
|
-webkit-transition: opacity 0.4s ease;
|
||||||
%s
|
%s
|
||||||
}
|
}
|
||||||
.lyricsmain {
|
.lyricsmain {
|
||||||
-webkit-transition: opacity 0.5s ease;
|
-webkit-transition: opacity 0.4s ease;
|
||||||
%s
|
%s
|
||||||
}
|
}
|
||||||
.lyricsoutline {
|
.lyricsoutline {
|
||||||
-webkit-transition: opacity 0.5s ease;
|
-webkit-transition: opacity 0.4s ease;
|
||||||
%s
|
%s
|
||||||
}
|
}
|
||||||
.lyricsshadow {
|
.lyricsshadow {
|
||||||
-webkit-transition: opacity 0.5s ease;
|
-webkit-transition: opacity 0.4s ease;
|
||||||
%s
|
%s
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user