react-native-image-zoom
react-native-image-zoom copied to clipboard
关于horizontalWholeOuterCounter的计算, 影响了连续滑动时候, 横坐标的偏移计算
在持续滑动的过程中, 反向移动, 横向就不能跟着移动了, 测试出来的是horizontalWholeOuterCounter计算相关的Bug, 在使用过程中感觉horizontalOuterRangeOffset这个函数完全可以被onMove替代! 所以我简单的注释掉, 然后把Y计算的类似写一份X的就可以了! 有待作者验证!
能否发一下改动 diff,我本地测试下效果看看?
What object i need to put in onMove function Can you please state that how can i use it in my code , onMove represents
(object)=>void
So what i need to put inside it ?
@githubmss fixed.
@githubmss https://github.com/ascoders/react-native-image-zoom/blob/master/src/image-zoom/image-zoom.type.ts#L133