Slightly improved

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
James Ketrenos 2018-12-25 13:39:36 -08:00
parent 69f4d24f56
commit 60db2959bb
2 changed files with 7 additions and 7 deletions

View File

@ -149,10 +149,10 @@
}, },
showImage: function() { showImage: function() {
var maxscale = 1.4; var maxscale = 1.25;
var minscale = 1.1; var minscale = 1.1;
var minMov = 5; var minMov = 2;
var maxMov = 10; var maxMov = 5;
var scalar = this.randomizer(minscale,maxscale).toFixed(2); var scalar = this.randomizer(minscale,maxscale).toFixed(2);
var moveX = this.randomizer(minMov,maxMov).toFixed(2); var moveX = this.randomizer(minMov,maxMov).toFixed(2);
@ -172,7 +172,7 @@
"#image { " + "#image { " +
"animation: zoom 12s alternate infinite; " + "animation: zoom 12s alternate infinite; " +
"position: absolute; " + "position: absolute; " +
"top: 0; left:-5%; width: 110%; height: 110%; " + "top: -5%; left:-5%; width: 110%; height: 110%; " +
"}" + "}" +
"\n" + "\n" +
"@" + prefix + "keyframes burnseffect { " + "@" + prefix + "keyframes burnseffect { " +

View File

@ -1241,13 +1241,13 @@
slideshowNext: function() { slideshowNext: function() {
if (this.mode != "slideshow") { if (this.mode != "slideshow") {
window.cancelTimeout(this.slideshowTimeout); window.clearTimeout(this.slideshowTimeout);
delete this.slideshowTimeout; delete this.slideshowTimeout;
return; return;
} }
if (this.slideshowTimeout) { if (this.slideshowTimeout) {
window.cancelTimeout(this.slideshowTimeout); window.clearTimeout(this.slideshowTimeout);
delete this.slideshowTimeout; delete this.slideshowTimeout;
} }