Slightly improved
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
parent
69f4d24f56
commit
60db2959bb
@ -149,10 +149,10 @@
|
||||
},
|
||||
|
||||
showImage: function() {
|
||||
var maxscale = 1.4;
|
||||
var maxscale = 1.25;
|
||||
var minscale = 1.1;
|
||||
var minMov = 5;
|
||||
var maxMov = 10;
|
||||
var minMov = 2;
|
||||
var maxMov = 5;
|
||||
var scalar = this.randomizer(minscale,maxscale).toFixed(2);
|
||||
var moveX = this.randomizer(minMov,maxMov).toFixed(2);
|
||||
|
||||
@ -172,7 +172,7 @@
|
||||
"#image { " +
|
||||
"animation: zoom 12s alternate infinite; " +
|
||||
"position: absolute; " +
|
||||
"top: 0; left:-5%; width: 110%; height: 110%; " +
|
||||
"top: -5%; left:-5%; width: 110%; height: 110%; " +
|
||||
"}" +
|
||||
"\n" +
|
||||
"@" + prefix + "keyframes burnseffect { " +
|
||||
|
@ -1241,16 +1241,16 @@
|
||||
|
||||
slideshowNext: function() {
|
||||
if (this.mode != "slideshow") {
|
||||
window.cancelTimeout(this.slideshowTimeout);
|
||||
window.clearTimeout(this.slideshowTimeout);
|
||||
delete this.slideshowTimeout;
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.slideshowTimeout) {
|
||||
window.cancelTimeout(this.slideshowTimeout);
|
||||
window.clearTimeout(this.slideshowTimeout);
|
||||
delete this.slideshowTimeout;
|
||||
}
|
||||
|
||||
|
||||
if (!this.thumbnails.length) {
|
||||
this.slideshowTimeout = window.setTimeout(this.slideshowNext.bind(this), 150);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user