From 34fdaf6f1405c59dbf18d03cc489a50715a7e4e9 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 7 Oct 2024 13:02:15 -0400
Subject: lint fixes

---
 src/client/views/GestureOverlay.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

diff --git a/src/client/views/GestureOverlay.tsx b/src/client/views/GestureOverlay.tsx
index 5fddaec9a..afeecaa63 100644
--- a/src/client/views/GestureOverlay.tsx
+++ b/src/client/views/GestureOverlay.tsx
@@ -70,7 +70,6 @@ export class GestureOverlay extends ObservableReactComponent<React.PropsWithChil
     @observable private _strokes: InkData[] = [];
     @observable private _palette?: JSX.Element = undefined;
     @observable private _clipboardDoc?: JSX.Element = undefined;
-    @observable private _possibilities: JSX.Element[] = [];
 
     @computed private get height(): number {
         return 2 * Math.max(this._pointerY && this._thumbY ? this._thumbY - this._pointerY : 100, 100);
@@ -209,8 +208,8 @@ export class GestureOverlay extends ObservableReactComponent<React.PropsWithChil
         const intersectArray: string[] = [];
         const scribbleBounds = InkField.getBounds(scribble);
         for (let i = 0; i < scribble.length - 3; i += 4) {  // for each segment of scribble
+            const scribbleSeg = InkField.Segment(scribble, i);
             for (let j = 0; j < inkStroke.length - 3; j += 4) { // for each segment of ink stroke
-                const scribbleSeg = InkField.Segment(scribble, i);
                 const strokeSeg = InkField.Segment(inkStroke, j);
                 const strokeBounds = InkField.getBounds(strokeSeg.points.map(pt => ({ X: pt.x, Y: pt.y })));
                 if (intersectRect(scribbleBounds, strokeBounds)) {
-- 
cgit v1.2.3-70-g09d2

