diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/util/ReplayMovements.ts | 8 | ||||
-rw-r--r-- | src/client/util/TrackMovements.ts | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/client/util/ReplayMovements.ts b/src/client/util/ReplayMovements.ts index e46810b52..8e8bfca02 100644 --- a/src/client/util/ReplayMovements.ts +++ b/src/client/util/ReplayMovements.ts @@ -32,7 +32,7 @@ export class ReplayMovements { // play movemvents will recreate them when the user resumes the presentation pauseMovements = (): undefined | Error => { if (!this.isPlaying) { - console.warn('[recordingApi.ts] pauseMovements(): already on paused'); + // console.warn('[recordingApi.ts] pauseMovements(): already on paused'); return; } @@ -42,7 +42,7 @@ export class ReplayMovements { } setVideoBox = async (videoBox: VideoBox) => { - console.log('setVideoBox', videoBox); + // console.info('setVideoBox', videoBox); if (videoBox !== null) { console.warn('setVideoBox on already videoBox'); } if (this.videoBoxDisposeFunc !== null) { console.warn('setVideoBox on already videoBox dispose func'); this.videoBoxDisposeFunc(); } @@ -104,7 +104,7 @@ export class ReplayMovements { } docIdtoDoc.set(docId, refFields[docId] as Doc); } - console.log('loadPresentation refFields', refFields, docIdtoDoc); + // console.info('loadPresentation refFields', refFields, docIdtoDoc); return docIdtoDoc; } @@ -151,7 +151,7 @@ export class ReplayMovements { } public playMovements = (presentation: Presentation, docIdtoDoc: Map<string, Doc>, timeViewed: number = 0) => { - console.log('playMovements', presentation, timeViewed, docIdtoDoc); + // console.info('playMovements', presentation, timeViewed, docIdtoDoc); if (presentation.movements === null || presentation.movements.length === 0) { //|| this.playFFView === null) { return new Error('[recordingApi.ts] followMovements() failed: no presentation data') diff --git a/src/client/util/TrackMovements.ts b/src/client/util/TrackMovements.ts index 342bb440e..d512e4802 100644 --- a/src/client/util/TrackMovements.ts +++ b/src/client/util/TrackMovements.ts @@ -56,7 +56,7 @@ export class TrackMovements { } private addRecordingFFView(doc: Doc, key: string = doc[Id]): void { - console.info('adding dispose func : docId', key, 'doc', doc); + // console.info('adding dispose func : docId', key, 'doc', doc); if (this.recordingFFViews === null) { console.warn('addFFView on null RecordingApi'); return; } if (this.recordingFFViews.has(key)) { console.warn('addFFView : key already in map'); return; } @@ -69,7 +69,7 @@ export class TrackMovements { } private removeRecordingFFView = (key: string) => { - console.info('removing dispose func : docId', key); + // console.info('removing dispose func : docId', key); if (this.recordingFFViews === null) { console.warn('removeFFView on null RecordingApi'); return; } this.recordingFFViews.get(key)?.(); this.recordingFFViews.delete(key); @@ -125,7 +125,7 @@ export class TrackMovements { reaction(() => CollectionDockingView.Instance.props.Document.data, (change) => { // TODO: consider changing between dashboards - console.log('change in tabs', change); + // console.info('change in tabs', change); this.updateRecordingFFViewsFromTabs(DocListCast(change), true); }); } @@ -163,7 +163,7 @@ export class TrackMovements { // reset the current presentation clearData && this.clear(); - console.log('yieldPresentation', cpy); + // console.info('yieldPresentation', cpy); return cpy; } @@ -196,7 +196,7 @@ export class TrackMovements { if (this.recordingFFViews === null) { console.warn('removeAllFFViews on null RecordingApi'); return; } for (const [id, disposeFunc] of this.recordingFFViews) { - console.log('calling dispose func : docId', id); + // console.info('calling dispose func : docId', id); disposeFunc(); this.recordingFFViews.delete(id); } |