Skip to content

Commit

Permalink
Don't remove any idle interactions
Browse files Browse the repository at this point in the history
  • Loading branch information
taye committed Sep 18, 2015
1 parent 047131a commit ed53aee
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions interact.js
Expand Up @@ -2625,14 +2625,6 @@
this.pointers.splice(i, 1);
}
}

for (i = 0; i < interactions.length; i++) {
// remove this interaction if it's not the only one of it's type
if (interactions[i] !== this && interactions[i].mouse === this.mouse) {
interactions.splice(indexOf(interactions, this), 1);
break;
}
}
},

inertiaFrame: function () {
Expand Down

0 comments on commit ed53aee

Please sign in to comment.