aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/TrackMovements.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-09-02 09:26:37 -0400
committerbobzel <zzzman@gmail.com>2024-09-02 09:26:37 -0400
commitcda69e48361fce8d71a4dc66edd9dd976a27f52d (patch)
tree82b9a1a5967ae88a9534f89f7eaed3aeb289652f /src/client/util/TrackMovements.ts
parentc01828308714874589d1f60c33ca59df4c656c0c (diff)
parenta958577d4c27b276aa37484e3f895e196138b17c (diff)
Merge branch 'master' into alyssa-starter
Diffstat (limited to 'src/client/util/TrackMovements.ts')
-rw-r--r--src/client/util/TrackMovements.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/util/TrackMovements.ts b/src/client/util/TrackMovements.ts
index 25a3c9ad8..7da0281c0 100644
--- a/src/client/util/TrackMovements.ts
+++ b/src/client/util/TrackMovements.ts
@@ -9,13 +9,13 @@ export type Movement = {
panX: number;
panY: number;
scale: number;
- doc: Doc;
+ doc: Doc | string;
};
export type Presentation = {
movements: Movement[] | null;
totalTime: number;
- meta: Object | Object[];
+ meta: object | object[];
};
export class TrackMovements {
@@ -142,7 +142,7 @@ export class TrackMovements {
);
};
- start = (meta?: Object) => {
+ start = (meta?: object) => {
this.initTabTracker();
// update the presentation mode
@@ -245,7 +245,7 @@ export class TrackMovements {
// these three will lead to the combined presentation
const combinedMovements: Movement[] = [];
let sumTime = 0;
- const combinedMetas: any[] = [];
+ const combinedMetas: (object | object[])[] = [];
presentations.forEach(presentation => {
const { movements, totalTime, meta } = presentation;