noloop gif should be -1

repeat	0	repeat count, -1 = no repeat, 0 = forever
https://github.com/jnordberg/gif.js
This commit is contained in:
Alex K 2017-11-10 07:50:49 +01:00 committed by Julian Descottes
parent 4ebf43fda4
commit 76429dfd86

View File

@ -113,7 +113,7 @@
width: width * zoom, width: width * zoom,
height: height * zoom, height: height * zoom,
preserveColors : preserveColors, preserveColors : preserveColors,
repeat: this.getRepeatSetting_() ? 0 : 1, repeat: this.getRepeatSetting_() ? 0 : -1,
transparent : transparent transparent : transparent
}); });