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

use clamp function to calculate left, top and bright values #156

Merged
merged 1 commit into from
Sep 2, 2018

Conversation

janschoenherr
Copy link
Contributor

Currently only left or top values are clamped, not both. This should fix this.

@linx4200
Copy link
Collaborator

linx4200 commented Sep 2, 2018

This is a good util function! Thanks!

@linx4200 linx4200 merged commit d5de672 into xiaokaike:master Sep 2, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants