Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.

Allow updating height and color options through props #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tf
Copy link
Contributor

@tf tf commented Jun 20, 2017

Use Wavesurfer setter methods to update waveColor, progressColor, cursorColor
and height if the value changed inside the options prop.

Requires katspaugh/wavesurfer.js#1145 to be merged/released first.

@tf tf force-pushed the update-height-and-color branch from 1ff41c5 to 3a65560 Compare June 21, 2017 09:20
Use Wavesurfer setter methods to update `waveColor`, `progressColor`,
`cursorColor` and `height` if the value changed inside the `options`
prop.
@tf tf force-pushed the update-height-and-color branch from 3a65560 to 68a804a Compare June 21, 2017 09:20
@tf
Copy link
Contributor Author

tf commented Nov 3, 2017

The PR on wavesutfer.js has been merged. Not sure if this is blocked until a version containing the changes has been released. Otherwise it might be worth creating a 0-8-stable branch and have master track Wavesurfer 2?

@tf tf changed the title [WIP] Allow updating height and color options through props Allow updating height and color options through props Nov 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant