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

如何设置让图片的短边充满整个选取? #43

Open
zhangshiceng opened this issue Oct 18, 2019 · 1 comment
Open

如何设置让图片的短边充满整个选取? #43

zhangshiceng opened this issue Oct 18, 2019 · 1 comment

Comments

@zhangshiceng
Copy link

1

如图,我想在初始化的就让短边充满整个选取,缩放的时候短边不能小于选区的大小。要不然选区内空白的地方会将下层的内容显示出来,很不美观。

想要达到这种效果,我要怎么做呢?

@zhangshiceng
Copy link
Author

补充:缩放的时候也有问题,只能在先执行放大并且未松手的情况下才能缩小图片,如果放大后松手了,那么久不能缩小图片了。望改进

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

1 participant