From d7c55e486db32b03aba890059ce1b911e57aaa92 Mon Sep 17 00:00:00 2001 From: jberg Date: Fri, 11 Oct 2019 20:10:33 -0700 Subject: [PATCH] Comment with source of default values for AnimatedLayer (#947) --- modern/src/runtime/AnimatedLayer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modern/src/runtime/AnimatedLayer.ts b/modern/src/runtime/AnimatedLayer.ts index 06aa9521..087a4f98 100644 --- a/modern/src/runtime/AnimatedLayer.ts +++ b/modern/src/runtime/AnimatedLayer.ts @@ -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);