Comparing version 0.11.1 to 0.11.2
11
index.js
@@ -305,10 +305,3 @@ /* Copyright (c) 2017 YOPEY YOPEY LLC */ | ||
this.emit('down', x, y, { event: e, input: this, id }) | ||
if (!this.threshold || this.pointers.length > 1) | ||
{ | ||
this.start = null | ||
} | ||
else | ||
{ | ||
this.start = { x, y } | ||
} | ||
this.start = { x, y } | ||
} | ||
@@ -318,3 +311,3 @@ | ||
{ | ||
if (this.start) | ||
if (this.start && this.pointers.length === 1) | ||
{ | ||
@@ -321,0 +314,0 @@ this.start = null |
{ | ||
"name": "yy-input", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"description": "basic input support for touch, mouse, and keyboard", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
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
969353
21761