Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

双指捏合缩放的小问题 #18

Open
hdinson opened this issue Feb 28, 2024 · 3 comments
Open

双指捏合缩放的小问题 #18

hdinson opened this issue Feb 28, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@hdinson
Copy link

hdinson commented Feb 28, 2024

现象描述
1/当图片两指持续缩小时,两指到达一定的距离后,将不再继续缩小
2/当图片两指放大时,开始两指距离很近,图片不放大,后持续加大两指距离,需要到一定的距离后才能触发图片放大

双指捏和缩放的最小触发距离能不能提供 api 进行设置?

@hdinson hdinson added the enhancement New feature or request label Feb 28, 2024
@hdinson
Copy link
Author

hdinson commented Feb 28, 2024

另:
sketchZoomImageView.displayImage() 能新增 Bitmap 和 ByteArray 类型

@panpf
Copy link
Owner

panpf commented Mar 11, 2024

现象描述 1/当图片两指持续缩小时,两指到达一定的距离后,将不再继续缩小 2/当图片两指放大时,开始两指距离很近,图片不放大,后持续加大两指距离,需要到一定的距离后才能触发图片放大

双指捏和缩放的最小触发距离能不能提供 api 进行设置?

这部分是有些问题,需要再优化一下

@panpf
Copy link
Owner

panpf commented Mar 11, 2024

另: sketchZoomImageView.displayImage() 能新增 Bitmap 和 ByteArray 类型

直接使用 Bitmap 和 ByteArray 想必只有在极个别的场景下才有此需求,这种场景下可以直接使用基础的 ZoomImageView,不要使用集成了图片加载器的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants