Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

JohanAR
Copy link
Collaborator

@JohanAR JohanAR commented Dec 12, 2020

Added clamping of offsets so that lrud always lies within image
boundaries. The adjusted offsets are returned to main so that it is no
longer necessary to test if an offset increase/decrease should be
allowed.

Added clamping of offsets so that lrud always lies within image
boundaries. The adjusted offsets are returned to main so that it is no
longer necessary to test if an offset increase/decrease should be
allowed.
@JohanAR
Copy link
Collaborator Author

JohanAR commented Dec 13, 2020

To replicate the bug this aims to fix:

  1. zoom in one step
  2. pan camera to edge of frame using UHJK
  3. zoom out

@alievk
Copy link
Owner

alievk commented Dec 13, 2020

Well done! 😃

@alievk alievk merged commit aba260f into alievk:master Dec 13, 2020
@JohanAR JohanAR deleted the fix_crop branch December 13, 2020 09:46
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.

2 participants