aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkStrokeProperties.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-10-31 14:21:51 -0400
committerbobzel <zzzman@gmail.com>2023-10-31 14:21:51 -0400
commitcf95923feebb274249283c7bb82de5849060a9a8 (patch)
treeb4aafffb6ae32d4386f6a4ddfc6b6b01c6e309ff /src/client/views/InkStrokeProperties.ts
parenta091c6142db5c1da94807abf14e78ed69e62f794 (diff)
fixed keyframe animation of ink and links. fixed getDocumentview with preferred collection
Diffstat (limited to 'src/client/views/InkStrokeProperties.ts')
-rw-r--r--src/client/views/InkStrokeProperties.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkStrokeProperties.ts b/src/client/views/InkStrokeProperties.ts
index 13bd12361..736ca8d90 100644
--- a/src/client/views/InkStrokeProperties.ts
+++ b/src/client/views/InkStrokeProperties.ts
@@ -65,7 +65,7 @@ export class InkStrokeProperties {
doc._height = (newYrange.max - newYrange.min) * ptsYscale + NumCast(doc.stroke_width);
doc.x = oldXrange.coord + (newXrange.min - oldXrange.min) * ptsXscale;
doc.y = oldYrange.coord + (newYrange.min - oldYrange.min) * ptsYscale;
- Doc.GetProto(doc).stroke = new InkField(newPoints);
+ Doc.SetInPlace(doc, 'stroke', new InkField(newPoints), true);
appliedFunc = true;
}
}