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

放大后无法缩小回初始大小 #792

Closed
LAQKing opened this issue Mar 11, 2024 · 2 comments
Closed

放大后无法缩小回初始大小 #792

LAQKing opened this issue Mar 11, 2024 · 2 comments

Comments

@LAQKing
Copy link
Contributor

LAQKing commented Mar 11, 2024

初始图片是这样的
image

但是放大后,就无法缩小回到最初的样子
image

这个需要怎么设置或修改?我是通过cropper.value.changeScale(1)放大,cropper.value.changeScale(-1)缩小的,鼠标滚轮也存在同样的问题。

@doubaodoubao
Copy link

卧槽我也是,怎么搞啊这个

@LAQKing
Copy link
Contributor Author

LAQKing commented Mar 29, 2024

卧槽我也是,怎么搞啊这个

我提交了pull-requests,等作者测试完成,合并后发布新版本应该可以解决了,或者使用Cropper.js,更加强大,功能更完善

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

No branches or pull requests

3 participants