@any-touch/pinch
Advanced tools
Comparing version 0.6.0-beta.30 to 0.6.1-beta.0
@@ -23,3 +23,5 @@ 'use strict'; | ||
var scale = this.computed.scale; | ||
return this.isValidPointLength(pointLength) && void 0 !== scale && (this.options.threshold < Math.abs(scale - 1) || this.isRecognized); | ||
return this.isValidPointLength(pointLength) | ||
&& void 0 !== scale | ||
&& (this.options.threshold < Math.abs(scale - 1) || this.isRecognized); | ||
}; | ||
@@ -26,0 +28,0 @@ default_1.prototype.recognize = function (input, emit) { |
@@ -18,3 +18,5 @@ import { __extends, __assign } from 'tslib'; | ||
var scale = this.computed.scale; | ||
return this.isValidPointLength(pointLength) && void 0 !== scale && (this.options.threshold < Math.abs(scale - 1) || this.isRecognized); | ||
return this.isValidPointLength(pointLength) | ||
&& void 0 !== scale | ||
&& (this.options.threshold < Math.abs(scale - 1) || this.isRecognized); | ||
}; | ||
@@ -21,0 +23,0 @@ default_1.prototype.recognize = function (input, emit) { |
{ | ||
"name": "@any-touch/pinch", | ||
"version": "0.6.0-beta.30", | ||
"version": "0.6.1-beta.0", | ||
"description": "any-touch的识别器, 用来识别捏合手势.", | ||
@@ -11,3 +11,3 @@ "main": "./dist/index", | ||
"peerDependencies": { | ||
"any-touch": "0.6.0-beta.29", | ||
"any-touch": "^0.6.0-beta.30", | ||
"tslib": "^1.9.3" | ||
@@ -17,3 +17,3 @@ }, | ||
"@any-touch/compute": "^0.6.0-beta.30", | ||
"@any-touch/recognizer": "^0.6.0-beta.30" | ||
"@any-touch/recognizer": "^0.6.1-beta.0" | ||
}, | ||
@@ -24,3 +24,3 @@ "publishConfig": { | ||
"sideEffects": false, | ||
"gitHead": "72c35289e4996e7a568625595c8b1fd05728eadb" | ||
"gitHead": "a52710e715405ebc0e70c265f5db341bb427fb23" | ||
} |
@@ -24,3 +24,5 @@ import { Input, CommonEmitFunction } from '@any-touch/shared'; | ||
const { scale } = this.computed; | ||
return this.isValidPointLength(pointLength) && void 0 !== scale && (this.options.threshold < Math.abs(scale - 1) || this.isRecognized); | ||
return this.isValidPointLength(pointLength) | ||
&& void 0 !== scale | ||
&& (this.options.threshold < Math.abs(scale - 1) || this.isRecognized); | ||
}; | ||
@@ -27,0 +29,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8372
147
+ Added@any-touch/pinch@0.6.0(transitive)
+ Added@any-touch/recognizer@0.6.1-y.1(transitive)
+ Addedany-touch@0.6.0(transitive)
- Removedany-touch@0.6.0-beta.29(transitive)