Drag start/stop Callbacks & Playback Direction #73

Merged
merged 2 commits into from Mar 23, 2016

Projects

None yet

2 participants

@supertorio

This pull request adds callbacks for when the user starts or stops dragging the slider. The start drag event passes the starting frame, while the end drag event passes the end frame.

Additionally it adds a second optional parameter to the play method for playback direction. This allows a user to change playback direction on the fly.

A use case for these enhancements is stoping playback while a user is dragging, then resuming playback in the dragged direction after the user stops.

@creativeaura creativeaura merged commit 81ed02f into creativeaura:master Mar 23, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment