Skip to content

Commit

Permalink
Merge pull request #134 from ReactiveX/revert-130-gh-pages
Browse files Browse the repository at this point in the history
Revert "Exercise 33: Drag contact offset"
  • Loading branch information
morenoh149 committed Jan 29, 2016
2 parents 762e80a + 331c766 commit 4193795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4146,8 +4146,8 @@ <h4>Exercise 33: Improving our mouse drag event</h4>
takeUntil(spriteContainerMouseUps).
map(function(movePoint) {
return {
pageX: movePoint.pageX + contactPoint.offsetX,
pageY: movePoint.pageY + contactPoint.offsetY
pageX: movePoint.pageX - contactPoint.offsetX,
pageY: movePoint.pageY - contactPoint.offsetY
};
});
});
Expand Down

0 comments on commit 4193795

Please sign in to comment.