From 62eda6aa6af765526fd065dc271b9d53e2b28002 Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 6 Sep 2024 10:50:41 -0400 Subject: cleaned up some code in gesture recognition --- src/pen-gestures/GestureTypes.ts | 1 - src/pen-gestures/ndollar.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/pen-gestures') diff --git a/src/pen-gestures/GestureTypes.ts b/src/pen-gestures/GestureTypes.ts index 2e1c9d16f..5a8e9bd97 100644 --- a/src/pen-gestures/GestureTypes.ts +++ b/src/pen-gestures/GestureTypes.ts @@ -1,7 +1,6 @@ export enum Gestures { Line = 'line', Stroke = 'stroke', - Scribble = 'scribble', Text = 'text', Triangle = 'triangle', Circle = 'circle', diff --git a/src/pen-gestures/ndollar.ts b/src/pen-gestures/ndollar.ts index 07105575e..04262b61f 100644 --- a/src/pen-gestures/ndollar.ts +++ b/src/pen-gestures/ndollar.ts @@ -263,7 +263,7 @@ export class NDollarRecognizer { ]) ) ); - this.Multistrokes.push(new Multistroke(Gestures.RightAngle, useBoundedRotationInvariance, new Array([new Point(200, 0), new Point(0, 0), new Point(0, 100)]))); + this.Multistrokes.push(new Multistroke(Gestures.RightAngle, useBoundedRotationInvariance, new Array([new Point(0, 0), new Point(0, 100), new Point(200, 100)]))); NumMultistrokes = this.Multistrokes.length; // NumMultistrokes flags the end of the non user-defined gstures strokes // // PREDEFINED STROKES -- cgit v1.2.3-70-g09d2