From e722df73b65f7c995faf397629839d2a72641b9b Mon Sep 17 00:00:00 2001
From: eleanor-park <eleanor_park@brown.edu>
Date: Sun, 14 Apr 2024 15:01:23 -0400
Subject: slight fix

---
 .../views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')

diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 1fd52bd91..35bb147cf 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -857,14 +857,14 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
         for (var i = 0; i < eraserInkData.length - 3; i += 4) {
             const eraserBezier: Bezier = InkField.Segment(eraserInkData, i);
             segment1.push(eraserBezier); // this renders the eraser bezier, all the commented out code below is for intersecting the stroke with the eraser
-            for (var j = 0; j < inkData.length; j += 4) {
-            const inkSegment: Bezier = InkField.Segment(inkData, i);
+            // for (var j = 0; j < inkData.length; j += 4) {
+            //     const inkSegment: Bezier = InkField.Segment(inkData, i);
             // this.bintersects(inkSegment, eraserBezier).forEach((val: string | number, i: number) => {
             //     // Converting the Bezier.js Split type to a t-value number.
             //     const t = +val.toString().split('/')[0];
             //     if (i % 2 === 0 && !tVals.includes(t)) tVals.push(t); // bcz: Hack!  don't know why but intersection points are doubled from bezier.js (but not identical).
             // });
-            }
+            // }
         }
         // segment1.push(eraserBezier);
     
-- 
cgit v1.2.3-70-g09d2

