aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkStrokeProperties.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-08-22 12:50:52 -0400
committerbobzel <zzzman@gmail.com>2022-08-22 12:50:52 -0400
commitd8f2a45a95a14151d3484c3c14f72d217a818786 (patch)
treec1e66f518367b28992b6ccc7f7adfca48db19725 /src/client/views/InkStrokeProperties.ts
parent96a15ed27e9b17a77e6cab72d4087ddfe6066d2a (diff)
made inkMasks animate when they are turned on /off. fixed inkStrokes to be interpolated when they have an activeFrame set.
Diffstat (limited to 'src/client/views/InkStrokeProperties.ts')
-rw-r--r--src/client/views/InkStrokeProperties.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/InkStrokeProperties.ts b/src/client/views/InkStrokeProperties.ts
index b32c9d54c..1f5f16592 100644
--- a/src/client/views/InkStrokeProperties.ts
+++ b/src/client/views/InkStrokeProperties.ts
@@ -68,7 +68,6 @@ export class InkStrokeProperties {
doc.x = oldXrange.coord + (newXrange.min - oldXrange.min) * ptsXscale;
doc.y = oldYrange.coord + (newYrange.min - oldYrange.min) * ptsYscale;
if (doc.activeFrame !== undefined) {
- doc.data = ComputedField.MakeInterpolated('data', 'activeFrame', doc, NumCast(doc.activeFrame));
const findexed = Cast(doc[`data-indexed`], listSpec(InkField), []).slice();
findexed[NumCast(doc.activeFrame)] = new InkField(newPoints);
doc[`data-indexed`] = new List<InkField>(findexed);