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

Adjusting Start/End Handles programmatically #19

Closed
elementsrtyte opened this issue Jan 19, 2018 · 1 comment
Closed

Adjusting Start/End Handles programmatically #19

elementsrtyte opened this issue Jan 19, 2018 · 1 comment

Comments

@elementsrtyte
Copy link

It would be very helpful to provide some methods on TrimmerView that allows us to pass in a 'start' or 'end' CMTime to TrimmerView that allows us to configure the default starting/ending times of the trimmer.

Something with a signature similar to this would be great...

public func updateLeftHandlePosition(time: CMTime) {
...
}
public func updateRightHandlePosition(time: CMTime) {
...
}

Thanks

@HHK1
Copy link
Owner

HHK1 commented Jan 22, 2018

There has been a similar request here #17, so I'm going to close this issue as a duplicate.

As mentioned in the first issue: You should be able to do something similar to the positionBar. I currently don't have the time to work on this. Feel free to open a PR if you decide to implement it.

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

2 participants