Skip to content

Commit

Permalink
accept all pointerIds
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jun 12, 2017
1 parent 2e532ea commit d353972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hft/scripts/misc/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ define(

var updatePad = function(pad, padId, out) {
var newDir = -1;
if (!out && pad.pointerId >= 0) {
if (!out /* && pad.pointerId !== 0*/) {
var distSq = pad.vector.x * pad.vector.x + pad.vector.y * pad.vector.y;
if (distSq > deadSpaceRadiusSq) {
newDir = computeDir(pad.vector.x, pad.vector.y);
Expand Down

0 comments on commit d353972

Please sign in to comment.