aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2022-04-13 00:12:12 -0400
committermehekj <mehek.jethani@gmail.com>2022-04-13 00:12:12 -0400
commit4209154f5b430af481a99982fb86c2ef1bd1ccd1 (patch)
tree12cdfcf7c13cda683b8f7e23fde3113cfaace2e1 /src/client/views/collections
parent82272cc4735a9da78a1c4592bdf460f1ab6e644d (diff)
parent9a92361e9c585ed02c7d2561835d64ab736b96e3 (diff)
Merge branch 'inkocr-mehek' into inking-naafi-mehek
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 3c0cc17ca..908f08f88 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -1577,7 +1577,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
transcribeStrokes = (math: boolean) => {
if (this.props.Document._isGroup) {
const inkdocs = this.childDocs.filter(s => s.type === DocumentType.INK);
- InkTranscription.Instance.transcribeInk(inkdocs, math, { x: NumCast(this.layoutDoc.x) ?? 0, y: NumCast(this.layoutDoc.y) ?? 0, width: NumCast(this.layoutDoc._width) ?? 0, height: NumCast(this.layoutDoc._height) ?? 0 }, this.addDocument);
+ InkTranscription.Instance.transcribeInk(inkdocs, math, { x: NumCast(this.layoutDoc.x) ?? 0, y: NumCast(this.layoutDoc.y) ?? 0, width: NumCast(this.layoutDoc._width) ?? 0, height: NumCast(this.layoutDoc._height) ?? 0 }, this.props.ContainingCollectionView?.addDocument);
}
}