Comment with source of default values for AnimatedLayer (#947)

This commit is contained in:
jberg 2019-10-11 20:10:33 -07:00 committed by Jordan Eldredge
parent b97dc37905
commit 3399700d85

View file

@ -63,6 +63,7 @@ class AnimatedLayer extends Layer {
this._typedAttributes = this.attributes;
const { autoplay, autoreplay, start, speed } = this._typedAttributes;
// Default values from http://wiki.winamp.com/wiki/XML_GUI_Objects#.3Canimatedlayer.2F.3E
this._playing = getBoolean(autoplay, false);
this._autoReplay = getBoolean(autoreplay, true);
this._frameNum = getNumber(start, 0);