diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-10 18:41:02 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-10 18:41:02 -0500 |
| commit | 87a641981ff1b8a0f6fba043f47ebea64b5231c3 (patch) | |
| tree | 65194bc54e832bd3620a89f06bb870b791ea9f23 /src/client/views/global | |
| parent | d460d2ec856c9fc13789e151c9738f3345e95b64 (diff) | |
fixed animation timeline to not fade in/out the collection. fixed keyframe animator to interpolate colors.
Diffstat (limited to 'src/client/views/global')
| -rw-r--r-- | src/client/views/global/globalScripts.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/global/globalScripts.ts b/src/client/views/global/globalScripts.ts index 8c49dc6ea..d2df58102 100644 --- a/src/client/views/global/globalScripts.ts +++ b/src/client/views/global/globalScripts.ts @@ -53,7 +53,7 @@ ScriptingGlobals.add(function setBackgroundColor(color?: string, checkResult?: b const contentFrameNumber = Cast(dv.rootDoc?._currentFrame, 'number', layoutFrameNumber ?? null); // frame number that content is at which determines what content is displayed if (contentFrameNumber !== undefined) { const obj: { [key: string]: Opt<string> } = {}; - obj[fieldKey as any] = color; + obj[fieldKey] = color; CollectionFreeFormDocumentView.setStringValues(contentFrameNumber, dv.rootDoc, obj); } else { dv.rootDoc['_' + fieldKey] = color; |
