From f66eefce84ce6a7c8c1fdf37f682238e65576ff6 Mon Sep 17 00:00:00 2001
From: Naafiyan Ahmed <naafiyan@gmail.com>
Date: Tue, 3 May 2022 16:32:13 -0400
Subject: working on subgrouping

---
 src/client/views/InkTranscription.tsx | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'src/client/views/InkTranscription.tsx')

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;
-- 
cgit v1.2.3-70-g09d2

