From b65b601386e04cbace0ce42f38392c1c75039231 Mon Sep 17 00:00:00 2001 From: eleanor-park Date: Sun, 14 Apr 2024 14:45:53 -0400 Subject: repushing --- src/client/views/InkingStroke.tsx | 2 +- .../views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx index 6bee0d20d..44c7b3a6b 100644 --- a/src/client/views/InkingStroke.tsx +++ b/src/client/views/InkingStroke.tsx @@ -354,7 +354,7 @@ export class InkingStroke extends ViewBoxBaseComponent() impleme { X: inkCoords.X + radius, Y: inkCoords.Y }, // right again ]; const eraserCircle = new InkField(points); - return eraserCircle; + return points; } _subContentView: ViewBoxInterface | undefined; diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 2bf4f3c1e..1fd52bd91 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -856,7 +856,7 @@ export class CollectionFreeFormView extends CollectionSubView { -- cgit v1.2.3-70-g09d2 From e722df73b65f7c995faf397629839d2a72641b9b Mon Sep 17 00:00:00 2001 From: eleanor-park 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') 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 { // // 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