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

Is it possible to hide the grid and border for CropAuxiliaryIndicatorView? #366

Closed
Dmitrievskij90 opened this issue Jan 12, 2024 · 7 comments · Fixed by #367
Closed

Is it possible to hide the grid and border for CropAuxiliaryIndicatorView? #366

Dmitrievskij90 opened this issue Jan 12, 2024 · 7 comments · Fixed by #367
Labels
enhancement New feature or request

Comments

@Dmitrievskij90
Copy link

Hi,

Thanks for a great library!

I was trying to figure out how to hide the grid and border for CropAuxiliaryIndicatorView but couldn't find a way. Or maybe somehow change their color to transparent?

@guoyingtao
Copy link
Owner

@Dmitrievskij90
Do you mean that you want to hide CropAuxiliaryIndicatorView at all?

@Dmitrievskij90
Copy link
Author

Dmitrievskij90 commented Jan 12, 2024

@guoyingtao
In general, i want to achieve this effect. The only way I found by looking at the library code, is to hide the grid and border in CropAuxiliaryIndicatorView. Or is there some other way to do it?

telegram-cloud-document-2-5262989337527598876.mp4

@guoyingtao guoyingtao added the enhancement New feature or request label Jan 12, 2024
@guoyingtao
Copy link
Owner

Got it. I can add this support in Mantis.

@Dmitrievskij90
Copy link
Author

I would be very grateful!

@guoyingtao
Copy link
Owner

@Dmitrievskij90
Please check if PR #367 is what you want.
When testing, please set CropViewConfig.cropAuxiliaryIndicatorStyle = .transparent

@Dmitrievskij90
Copy link
Author

@guoyingtao
Yes, that's what I need. Thanks a lot for the quick solution

guoyingtao added a commit that referenced this issue Jan 13, 2024
…366 (#367)

Support transparent style for CropAuxiliaryIndicatorView
@guoyingtao
Copy link
Owner

@Dmitrievskij90
I merged the PR #367
If you use CocoaPods, you can use pod 'Mantis', :git => 'https://github.com/guoyingtao/Mantis.git', :branch => 'release-v2.19.0' for this new feature before Mantis's next release.

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

Successfully merging a pull request may close this issue.

2 participants