Closed FZY456 closed 1 month ago
I also think it needs to be optimized.
我也遇到同样的问题
可以自定义下这里的规则,这就是手势冲突问题,这个就要看个人的习惯了。。比如有2以上触摸点的时候,就让水平垂直的手势不获胜。
优化后,体验有所提升 if(_velocityTrackers.keys.length >=2){ return false; }
怎么说呢,这个算是个人的感知吧,这地方就是为了更进一步区分是垂直水平拖动还是 双指多指缩放的
可以自定义下这里的规则,这就是手势冲突问题,这个就要看个人的习惯了。。比如有2以上触摸点的时候,就让水平垂直的手势不获胜。
Is there any way to control this externally? can modify the library code after receiving the pull, but I would like to avoid that method as much as possible.
可以自定义下这里的规则,这就是手势冲突问题,这个就要看个人的习惯了。。比如有2以上触摸点的时候,就让水平垂直的手势不获胜。
Is there any way to control this externally? can modify the library code after receiving the pull, but I would like to avoid that method as much as possible.
we can't public it , it has much private properties, so you can fork this package, and custom your logic
可以自定义下这里的规则,这就是手势冲突问题,这个就要看个人的习惯了。。比如有2以上触摸点的时候,就让水平垂直的手势不获胜。
Is there any way to control this externally? can modify the library code after receiving the pull, but I would like to avoid that method as much as possible.
we can't public it , it has much private properties, so you can fork this package, and custom your logic
Thanks for the reply. If you can't make it public, it seems like gesture recognition for pinch zoom and page switching needs to be improved.
我也遇到了,缩放非常不流畅,缩放手势会跟滑动手势冲突,应该修改下手势竞争规则
缩放经常不成功, 缩放的时候会走左右滑动的手势
yes this should be fixed! please very annoying
@zmtzawqlp 请问下这个可以优化么 确实有些奇怪
我也遇到同样的问题
please update to 8.3.1 version. This issue to due to ExtendedVelocityTracker builder was missed, sorry to delay fixing.
The versions to fit beyond flutter 3.10.0 are published, please update it.
This issue is coming from a merge pr
https://github.com/fluttercandies/extended_image/commit/fc1cb041b01e3397a772a4131ccbd9fa3b6c1ef0
The versions to fit beyond flutter 3.10.0 are updated. please update the version at your side.
Content
用食指和中指向俩边滑动以放大图片,但总会识别成左右切换图片。
我是直接下载demo运行在安卓手机上,下面是测试的视频。
https://github.com/fluttercandies/extended_image/assets/143068367/f662e827-4f16-4362-9b27-901c42afb661
环境: