aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkTranscription.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-05-17 23:26:29 -0400
committerbobzel <zzzman@gmail.com>2023-05-17 23:26:29 -0400
commit52dbbf15cc337b076234c6f8519da94e8e28d94d (patch)
treeefa26e12dab84eebbd22ab6ff4b4fb2cf387f24a /src/client/views/InkTranscription.tsx
parent4836040e2d673d347aae6e15c692bfe7103a29d9 (diff)
changed creationDate to author_date. fixed undo bug with webboxes. fixed menu problems with Open New Embedding and moved some collection menu items to buttons/
Diffstat (limited to 'src/client/views/InkTranscription.tsx')
-rw-r--r--src/client/views/InkTranscription.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/InkTranscription.tsx b/src/client/views/InkTranscription.tsx
index d6a6a64bf..025538160 100644
--- a/src/client/views/InkTranscription.tsx
+++ b/src/client/views/InkTranscription.tsx
@@ -128,7 +128,7 @@ export class InkTranscription extends React.Component {
const d = Cast(i.data, InkField, null);
const inkStroke = DocumentManager.Instance.getDocumentView(i)?.ComponentView as InkingStroke;
strokes.push(d.inkData.map(pd => inkStroke.ptToScreen({ X: pd.X, Y: pd.Y })));
- times.push(DateCast(i.creationDate).getDate().getTime());
+ times.push(DateCast(i.author_date).getDate().getTime());
});
this.currGroup = groupDoc;
@@ -221,7 +221,7 @@ export class InkTranscription extends React.Component {
const docList = DocListCast(this.currGroup.data);
docList.forEach((inkDoc: Doc) => {
// just having the times match up and be a unique value (actual timestamp doesn't matter)
- const ms = DateCast(inkDoc.creationDate).getDate().getTime() + 14400000;
+ const ms = DateCast(inkDoc.author_date).getDate().getTime() + 14400000;
const word = timestampWord.get(ms);
if (!word) {
return;