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

Implemented setStart and setEnd methods #41

Closed
wants to merge 1 commit into from

Conversation

jacobbrunson
Copy link

These methods adjust the start and end handles. I think this addresses #19 and/or #17

This PR also changes the method signature for the updateLeftConstraint and updateRightConstraint methods to accept a CGFloat instead of a CGPoint. This simplifies my additions and I think also makes sense because the constraints are 1-dimensional.

These methods adjust the start and end handles, respectively.

This commit also changes the method signature for the updateLeftConstraint and updateRightConstraint methods to accept a CGFloat instead of a CGPoint. This simplifies my additions and I think also makes sense because the constraints are 1-dimensional.
@HHK1
Copy link
Owner

HHK1 commented Dec 27, 2018

@jacobbrunson Thanks for contributing ! There is a situation that has not been accounted for, when the duration of the asset is greater than the asset preview (controlled by maxDuration inside the TrimmerView).
You'll need to also make the scroll view scroll to the relevant portion of the asset for this to work.

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