diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/InkTranscription.tsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/client/views/InkTranscription.tsx b/src/client/views/InkTranscription.tsx index 7e26b51a0..fa753760a 100644 --- a/src/client/views/InkTranscription.tsx +++ b/src/client/views/InkTranscription.tsx @@ -182,8 +182,6 @@ export class InkTranscription extends React.Component { if (!selected) { return; } - console.log("selected[0].context", DocListCast(selected[0].context)); - console.log("selected[0]", DocListCast(selected[0])); // TODO: nda - probably have to cast this to an actual Doc const ctx = await Cast(selected[0].context, Doc); if (!ctx) { @@ -206,8 +204,6 @@ export class InkTranscription extends React.Component { })) const aggregBounds = aggregateBounds(bounds, 0, 0); - const boundsWidth = Math.abs(aggregBounds.x - aggregBounds.r); - const boundsHeight = Math.abs(aggregBounds.y - aggregBounds.b); if (marqViewRef) { marqViewRef._downX = aggregBounds.x; @@ -227,8 +223,6 @@ export class InkTranscription extends React.Component { delete d._timecodeToShow; // bcz: this should be automatic somehow.. along with any other properties that were logically associated with the original collection delete d._timecodeToHide; // bcz: this should be automatic somehow.. along with any other properties that were logically associated with the original collection // calculate pos based on bounds - // d.x = dx - aggregBounds.x - boundsWidth / 2; - // d.y = dy - aggregBounds.y - boundsHeight / 2; if (marqViewRef?.Bounds) { d.x = dx - marqViewRef.Bounds.left - marqViewRef.Bounds.width / 2; d.y = dy - marqViewRef.Bounds.top - marqViewRef.Bounds.height / 2; |