diff options
| author | bobzel <zzzman@gmail.com> | 2024-09-06 10:50:41 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-09-06 10:50:41 -0400 |
| commit | 62eda6aa6af765526fd065dc271b9d53e2b28002 (patch) | |
| tree | beb7ce66a6ca7878f174def2e259924ea8d5a0cb /src/pen-gestures | |
| parent | ce6dc55b39d67467f9ea1e88382a6c74f060b660 (diff) | |
cleaned up some code in gesture recognition
Diffstat (limited to 'src/pen-gestures')
| -rw-r--r-- | src/pen-gestures/GestureTypes.ts | 1 | ||||
| -rw-r--r-- | src/pen-gestures/ndollar.ts | 2 |
2 files changed, 1 insertions, 2 deletions
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 |
