Skip to content

Commit

Permalink
[removed] traces of GestureRecognitionState from experimental-addons
Browse files Browse the repository at this point in the history
Summary: Was breaking the build

Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, #material_motion, featherless

Reviewed By: O2 Material Motion, #material_motion, featherless

Tags: #material_motion

Differential Revision: http://codereview.cc/D3089
  • Loading branch information
appsforartists committed Apr 24, 2017
1 parent 850dc7c commit 376b7b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import {
Connect,
Dict,
GestureRecognitionState,
MotionObservable,
NextChannel,
Observable,
Expand All @@ -27,10 +28,6 @@ import {
isObservable,
} from 'material-motion';

import {
GestureRecognitionState,
} from './gestures/GestureRecognitionState';

import {
GestureRecognition,
Timestamped,
Expand Down
22 changes: 0 additions & 22 deletions packages/experimental-addons/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ import {
ExperimentalMotionObservable,
} from './ExperimentalMotionObservable';

import {
GestureRecognitionState,
} from './gestures/GestureRecognitionState';

// If there were Set literals and collection methods, these might be better as
// sets than arrays

Expand Down Expand Up @@ -68,21 +64,3 @@ export interface Timestamped<T> {
value: T,
timestamp: number,
}

export interface GestureRecognition<T> {
recognitionState: GestureRecognitionState,
recognitionThreshold: number,
velocity: T,
}

export interface TranslationGestureRecognition extends GestureRecognition<Point2D> {
translation: Point2D,
}

export interface RotationGestureRecognition extends GestureRecognition<number> {
rotation: number,
}

export interface ScaleGestureRecognition extends GestureRecognition<number> {
scale: number,
}

0 comments on commit 376b7b0

Please sign in to comment.