Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #562 from FormidableLabs/bug/mutation-id
Browse files Browse the repository at this point in the history
remove mutationId check
  • Loading branch information
boygirl authored Feb 6, 2018
2 parents 26455b4 + 18964f5 commit 6a15cd7
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/components/containers/victory-cursor-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,8 @@ export const cursorContainerMixin = (base) => class VictoryCursorContainer exten
onMouseMove: (evt, targetProps) => {
return CursorHelpers.onMouseMove(evt, targetProps);
},
onTouchMove: function (evt, targetProps) { // eslint-disable-line object-shorthand
const mutations = CursorHelpers.onMouseMove(evt, targetProps);

if (mutations.id !== this.mouseMoveMutationId) {
this.mouseMoveMutationId = mutations.id;
return mutations.mutations;
}

return [];
onTouchMove: (evt, targetProps) => {
return CursorHelpers.onMouseMove(evt, targetProps);
}
}
}];
Expand Down

0 comments on commit 6a15cd7

Please sign in to comment.