react-native/Libraries/Interaction
Seph Soliman d1f8add4d0 Documentation fix: dx vs. x0
Summary:
> What existing problem does the pull request solve?

Purely a documentation/example error. Was misled/wasted time debugging because of this issue.

Description:
`dx`/`dy` are zero in onPanResponderGrant, not `x0`/`y0`. `x0`/`y0` will be the coordinates relative to the granted element, which are rarely zero.
Closes https://github.com/facebook/react-native/pull/9984

Differential Revision: D4001603

Pulled By: hramos

fbshipit-source-id: 32580795f62394585ccfb8f9a2ae65b0b72add69
2016-10-11 08:13:39 -07:00
..
__tests__ Introduce Batchinator 2016-09-06 14:43:46 -07:00
Batchinator.js Introduce Batchinator 2016-09-06 14:43:46 -07:00
InteractionManager.js Add missing return, FIX #9886 2016-09-15 22:43:36 -07:00
InteractionMixin.js flowify a few more Libraries 2015-03-26 10:13:38 -08:00
JSEventLoopWatchdog.js Add some stall stuff as settings to native animated example 2016-09-06 19:58:35 -07:00
PanResponder.js Documentation fix: dx vs. x0 2016-10-11 08:13:39 -07:00
TaskQueue.js Fix bug in cancelling last task in TaskQueue 2016-07-11 16:13:49 -07:00